|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GigaSpaceTypeManager
Interface encapsulating operations for getting and managing space type descriptors.
Use GigaSpace.getTypeManager()
to retrieve the type manager of a GigaSpace
instance.
GigaSpace
,
SpaceTypeDescriptor
,
SpaceTypeDescriptorBuilder
,
SpaceIndex
,
SpaceIndexFactory
Method Summary | |
---|---|
AsyncFuture<AddTypeIndexesResult> |
asyncAddIndex(String typeName,
SpaceIndex index)
Adds the specified index to the specified type. |
AsyncFuture<AddTypeIndexesResult> |
asyncAddIndex(String typeName,
SpaceIndex index,
AsyncFutureListener<AddTypeIndexesResult> listener)
Adds the specified index to the specified type. |
AsyncFuture<AddTypeIndexesResult> |
asyncAddIndexes(String typeName,
SpaceIndex[] indexes,
AsyncFutureListener<AddTypeIndexesResult> listener)
Adds the specified indexes to the specified type. |
SpaceTypeDescriptor |
getTypeDescriptor(Class<?> type)
Gets the space type descriptor of the specified type. |
SpaceTypeDescriptor |
getTypeDescriptor(String typeName)
Gets the space type descriptor of the specified type. |
void |
registerTypeDescriptor(Class<?> type)
Creates a type descriptor for the specified type and registers it in the space. |
void |
registerTypeDescriptor(SpaceTypeDescriptor typeDescriptor)
Registers the specified space type descriptor in the space. |
Method Detail |
---|
SpaceTypeDescriptor getTypeDescriptor(String typeName)
typeName
- Name of type.
SpaceTypeDescriptor getTypeDescriptor(Class<?> type)
type
- Java class.
void registerTypeDescriptor(SpaceTypeDescriptor typeDescriptor)
typeDescriptor
- void registerTypeDescriptor(Class<?> type)
type
- AsyncFuture<AddTypeIndexesResult> asyncAddIndex(String typeName, SpaceIndex index)
typeName
- Name of type to enhance.index
- Index to add.
get()
method will return the add index result upon completion.AsyncFuture<AddTypeIndexesResult> asyncAddIndex(String typeName, SpaceIndex index, AsyncFutureListener<AddTypeIndexesResult> listener)
typeName
- Name of type to enhance.index
- Index to add.listener
- A listener to be notified when a result arrives
get()
method will return the add index result upon completion.AsyncFuture<AddTypeIndexesResult> asyncAddIndexes(String typeName, SpaceIndex[] indexes, AsyncFutureListener<AddTypeIndexesResult> listener)
typeName
- Name of type to enhance.indexes
- Indexes to add.listener
- A listener to be notified when a result arrives.
get()
method will return the add index result upon completion.
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |