public interface GigaSpaceTypeManager
GigaSpace.getTypeManager() to retrieve the type manager of a GigaSpace
instance.GigaSpace,
SpaceTypeDescriptor,
SpaceTypeDescriptorBuilder,
SpaceIndex,
SpaceIndexFactory| Modifier and Type | Method and Description |
|---|---|
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.
|
SpaceTypeDescriptor getTypeDescriptor(String typeName)
typeName - Name of type.SpaceTypeDescriptor getTypeDescriptor(Class<?> type)
type - Java class.void registerTypeDescriptor(SpaceTypeDescriptor typeDescriptor)
void registerTypeDescriptor(Class<?> 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 arrivesget() 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.Copyright © GigaSpaces.