public class SpaceTypeManager extends Object
Constructor and Description |
---|
SpaceTypeManager(SpaceConfigReader configReader) |
SpaceTypeManager(TypeDescFactory typeDescFactory,
SpaceConfigReader configReader) |
Modifier and Type | Method and Description |
---|---|
ITypeDesc[] |
addIndexes(String typeName,
SpaceIndex[] newIndexes) |
AddTypeDescResult |
addTypeDesc(ITypeDesc typeDesc) |
void |
dropClass(String typeName)
Drop all Class entries and all its templates from the space.
|
Map<String,IServerTypeDesc> |
getSafeTypeTable() |
IServerTypeDesc |
getServerTypeDesc(String typeName) |
ITypeDesc |
getTypeDesc(String typeName) |
Object |
getTypeDescLock() |
IServerTypeDesc |
getTypeDescriptorByObject(Object obj,
ObjectType objectType) |
boolean |
isFifoType(IServerTypeDesc serverTypeDesc) |
IServerTypeDesc |
loadServerTypeDesc(ITransportPacket packet) |
void |
loadSpaceTypes(SpaceURL url) |
void |
registerTypeDescListener(IServerTypeDescListener listener) |
public SpaceTypeManager(SpaceConfigReader configReader)
public SpaceTypeManager(TypeDescFactory typeDescFactory, SpaceConfigReader configReader)
public void registerTypeDescListener(IServerTypeDescListener listener)
public Object getTypeDescLock()
public ITypeDesc[] addIndexes(String typeName, SpaceIndex[] newIndexes)
public IServerTypeDesc getServerTypeDesc(String typeName)
public Map<String,IServerTypeDesc> getSafeTypeTable()
public IServerTypeDesc loadServerTypeDesc(ITransportPacket packet) throws UnusableEntryException, UnknownTypeException
public AddTypeDescResult addTypeDesc(ITypeDesc typeDesc) throws DetailedUnusableEntryException
DetailedUnusableEntryException
public void dropClass(String typeName) throws DropClassException
typeName
- name of class to delete.DropClassException
public IServerTypeDesc getTypeDescriptorByObject(Object obj, ObjectType objectType) throws UnknownTypeException
UnknownTypeException
public boolean isFifoType(IServerTypeDesc serverTypeDesc)
public void loadSpaceTypes(SpaceURL url) throws DetailedUnusableEntryException
DetailedUnusableEntryException
Copyright © GigaSpaces.