public void clear(){
  if (distributedTypeRegistry.isClient()) {
    idToType.clear();
    typeToId.clear();
    localTypeIds.clear();
    localTypeIdMaps.clear();
    unreadDataMap.clear();
    idToEnum.clear();
    enumInfoToId.clear();
    localEnumIds.clear();
    AutoSerializableManager autoSerializer=getAutoSerializableManager();
    if (autoSerializer != null) {
      autoSerializer.resetCachedTypes();
    }
  }
}

public void clear ( ) { if ( distributedTypeRegistry . isClient ( ) ) { idToType . clear ( ) ; typeToId . clear ( ) ; localTypeIds . clear ( ) ; localTypeIdMaps . clear ( ) ; unreadDataMap . clear ( ) ; idToEnum . clear ( ) ; enumInfoToId . clear ( ) ; localEnumIds . clear ( ) ; AutoSerializableManager autoSerializer = getAutoSerializableManager ( ) ; if ( autoSerializer != null ) { autoSerializer . resetCachedTypes ( ) ; } } }
clear all of the cached pdx types in this registry . this method is used on a client when the server side distributed system is cycled
