public abstract class AbstractSpaceProxyActionManager<TSpaceProxy extends ISpaceProxy> extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractSpaceProxyActionManager(TSpaceProxy spaceProxy) |
Modifier and Type | Method and Description |
---|---|
AggregationResult |
aggregate(Object query,
AggregationSet aggregationSet,
Transaction txn,
int modifiers) |
AsyncFuture<AddTypeIndexesResult> |
asyncAddIndexes(String typeName,
SpaceIndex[] indexes,
AsyncFutureListener<AddTypeIndexesResult> listener) |
<T> Future<ChangeResult<T>> |
asyncChange(Object template,
ChangeSet changeSet,
Transaction txn,
long timeout,
ChangeModifiers modifiers,
AsyncFutureListener<ChangeResult<T>> listener) |
AsyncFuture<?> |
asyncRead(Object template,
Transaction txn,
long timeout,
int modifiers,
AsyncFutureListener<?> listener) |
AsyncFuture<?> |
asyncTake(Object template,
Transaction txn,
long timeout,
int modifiers,
AsyncFutureListener<?> listener) |
<T> ChangeResult<T> |
change(Object template,
ChangeSet changeSet,
Transaction txn,
long timeout,
ChangeModifiers modifiers) |
int |
clear(Object template,
Transaction txn,
int modifiers) |
int |
count(Object template,
Transaction txn,
int modifiers) |
protected abstract AdminProxyAction<TSpaceProxy> |
createAdminProxyAction() |
protected abstract AggregateProxyAction<TSpaceProxy> |
createAggregateAction() |
protected abstract ChangeProxyAction<TSpaceProxy> |
createChangeProxyAction() |
protected abstract CountClearProxyAction<TSpaceProxy> |
createCountClearProxyAction() |
protected abstract ReadTakeByIdsProxyAction<TSpaceProxy> |
createReadTakeByIdsProxyAction() |
protected abstract ReadTakeEntriesUidsProxyAction<TSpaceProxy> |
createReadTakeEntriesUidsProxyAction() |
protected abstract ReadTakeMultipleProxyAction<TSpaceProxy> |
createReadTakeMultipleProxyAction() |
protected abstract ReadTakeProxyAction<TSpaceProxy> |
createReadTakeProxyAction() |
protected abstract SnapshotProxyAction<TSpaceProxy> |
createSnapshotProxyAction() |
protected abstract TypeDescriptorActionsProxyExecutor<TSpaceProxy> |
createTypeDescriptorActionsExecutor() |
protected abstract WriteProxyAction<TSpaceProxy> |
createWriteProxyAction() |
void |
dropClass(String className) |
AsyncFuture |
executeTask(SpaceTask task,
Object routing,
Transaction tx,
AsyncFutureListener listener) |
SpaceHealthStatus |
getSpaceHealthStatus() |
ITypeDesc |
getTypeDescriptor(String typeName) |
void |
ping() |
Object |
read(Object template,
Transaction txn,
long timeout,
int modifiers,
boolean ifExists) |
Object |
read(ReadTakeProxyActionInfo actionInfo) |
Object |
readById(String className,
Object id,
Object routing,
Transaction txn,
long timeout,
int modifiers,
boolean ifExists,
QueryResultTypeInternal resultType,
String[] projections) |
Object[] |
readByIds(ReadTakeByIdsProxyActionInfo actionInfo,
boolean returnPackets) |
Object[] |
readByIds(String className,
Object[] ids,
Object[] routings,
Transaction txn,
int modifiers,
QueryResultTypeInternal resultType,
boolean returnPackets,
String[] projections) |
Object[] |
readByIds(String className,
Object[] ids,
Object routing,
Transaction txn,
int modifiers,
QueryResultTypeInternal resultType,
boolean returnPackets,
String[] projections) |
Object |
readByUid(String uid,
Transaction txn,
int modifiers,
QueryResultTypeInternal resultType,
boolean returnPacket) |
ReadTakeEntriesUidsResult |
readEntriesUids(ITemplatePacket template,
Transaction transaction,
int entriesLimit,
int modifiers) |
Object[] |
readMultiple(Object template,
Transaction txn,
long timeout,
int maxEntries,
int minEntriesToWaitFor,
int modifiers,
boolean returnOnlyUids,
boolean ifExist) |
ITypeDesc |
registerTypeDescriptor(Class<?> type) |
void |
registerTypeDescriptor(ITypeDesc typeDesc) |
<T> ISpaceQuery<T> |
snapshot(Object object) |
Object |
take(Object template,
Transaction txn,
long timeout,
int modifiers,
boolean ifExists) |
Object |
take(ReadTakeProxyActionInfo actionInfo) |
Object |
takeById(String className,
Object id,
Object routing,
int version,
Transaction txn,
long timeout,
int modifiers,
boolean ifExists,
QueryResultTypeInternal resultType,
String[] projections) |
Object[] |
takeByIds(ReadTakeByIdsProxyActionInfo actionInfo,
boolean returnPackets) |
Object[] |
takeByIds(String className,
Object[] ids,
Object[] routings,
Transaction txn,
int modifiers,
QueryResultTypeInternal resultType,
boolean returnPackets,
String[] projections) |
Object[] |
takeByIds(String className,
Object[] ids,
Object routing,
Transaction txn,
int modifiers,
QueryResultTypeInternal resultType,
boolean returnPackets,
String[] projections) |
Object |
takeByUid(String uid,
Transaction txn,
int modifiers,
QueryResultTypeInternal resultType,
boolean returnPacket) |
Object[] |
takeMultiple(Object template,
Transaction txn,
long timeout,
int maxEntries,
int minEntriesToWaitFor,
int modifiers,
boolean returnOnlyUids,
boolean ifExist) |
LeaseContext<?> |
write(Object entry,
Transaction txn,
long lease,
long timeout,
int modifiers) |
LeaseContext<?>[] |
writeMultiple(Object[] objects,
Transaction txn,
long lease,
long[] leases,
long timeout,
int modifiers) |
protected AbstractSpaceProxyActionManager(TSpaceProxy spaceProxy)
public ITypeDesc getTypeDescriptor(String typeName) throws RemoteException
RemoteException
public void registerTypeDescriptor(ITypeDesc typeDesc) throws RemoteException
RemoteException
public ITypeDesc registerTypeDescriptor(Class<?> type) throws RemoteException
RemoteException
public AsyncFuture<AddTypeIndexesResult> asyncAddIndexes(String typeName, SpaceIndex[] indexes, AsyncFutureListener<AddTypeIndexesResult> listener) throws RemoteException
RemoteException
public void dropClass(String className) throws RemoteException, DropClassException
RemoteException
DropClassException
public int clear(Object template, Transaction txn, int modifiers) throws ClearException
ClearException
public int count(Object template, Transaction txn, int modifiers) throws RemoteException, TransactionException, UnusableEntryException
public AsyncFuture executeTask(SpaceTask task, Object routing, Transaction tx, AsyncFutureListener listener) throws RemoteException, TransactionException
RemoteException
TransactionException
public void ping() throws RemoteException
RemoteException
public SpaceHealthStatus getSpaceHealthStatus() throws RemoteException
RemoteException
public Object read(Object template, Transaction txn, long timeout, int modifiers, boolean ifExists) throws UnusableEntryException, TransactionException, InterruptedException, RemoteException
public Object readById(String className, Object id, Object routing, Transaction txn, long timeout, int modifiers, boolean ifExists, QueryResultTypeInternal resultType, String[] projections) throws RemoteException, UnusableEntryException, TransactionException, InterruptedException
public Object readByUid(String uid, Transaction txn, int modifiers, QueryResultTypeInternal resultType, boolean returnPacket) throws RemoteException, UnusableEntryException, TransactionException, InterruptedException
public Object read(ReadTakeProxyActionInfo actionInfo) throws UnusableEntryException, TransactionException, InterruptedException, RemoteException
public AsyncFuture<?> asyncRead(Object template, Transaction txn, long timeout, int modifiers, AsyncFutureListener<?> listener) throws RemoteException
RemoteException
public Object[] readMultiple(Object template, Transaction txn, long timeout, int maxEntries, int minEntriesToWaitFor, int modifiers, boolean returnOnlyUids, boolean ifExist) throws TransactionException, UnusableEntryException, RemoteException
public Object[] readByIds(String className, Object[] ids, Object routing, Transaction txn, int modifiers, QueryResultTypeInternal resultType, boolean returnPackets, String[] projections) throws RemoteException, UnusableEntryException, TransactionException, InterruptedException
public Object[] readByIds(String className, Object[] ids, Object[] routings, Transaction txn, int modifiers, QueryResultTypeInternal resultType, boolean returnPackets, String[] projections) throws RemoteException, UnusableEntryException, TransactionException, InterruptedException
public Object[] readByIds(ReadTakeByIdsProxyActionInfo actionInfo, boolean returnPackets) throws RemoteException, TransactionException, InterruptedException, UnusableEntryException
public ReadTakeEntriesUidsResult readEntriesUids(ITemplatePacket template, Transaction transaction, int entriesLimit, int modifiers) throws RemoteException, TransactionException, UnusableEntryException
public Object[] takeByIds(String className, Object[] ids, Object routing, Transaction txn, int modifiers, QueryResultTypeInternal resultType, boolean returnPackets, String[] projections) throws RemoteException, UnusableEntryException, TransactionException, InterruptedException
public Object[] takeByIds(String className, Object[] ids, Object[] routings, Transaction txn, int modifiers, QueryResultTypeInternal resultType, boolean returnPackets, String[] projections) throws RemoteException, UnusableEntryException, TransactionException, InterruptedException
public Object[] takeByIds(ReadTakeByIdsProxyActionInfo actionInfo, boolean returnPackets) throws RemoteException, TransactionException, InterruptedException, UnusableEntryException
public <T> ISpaceQuery<T> snapshot(Object object) throws RemoteException
RemoteException
public Object take(Object template, Transaction txn, long timeout, int modifiers, boolean ifExists) throws UnusableEntryException, TransactionException, InterruptedException, RemoteException
public Object takeById(String className, Object id, Object routing, int version, Transaction txn, long timeout, int modifiers, boolean ifExists, QueryResultTypeInternal resultType, String[] projections) throws RemoteException, UnusableEntryException, TransactionException, InterruptedException
public Object takeByUid(String uid, Transaction txn, int modifiers, QueryResultTypeInternal resultType, boolean returnPacket) throws RemoteException, UnusableEntryException, TransactionException, InterruptedException
public Object take(ReadTakeProxyActionInfo actionInfo) throws UnusableEntryException, TransactionException, InterruptedException, RemoteException
public AsyncFuture<?> asyncTake(Object template, Transaction txn, long timeout, int modifiers, AsyncFutureListener<?> listener) throws RemoteException
RemoteException
public Object[] takeMultiple(Object template, Transaction txn, long timeout, int maxEntries, int minEntriesToWaitFor, int modifiers, boolean returnOnlyUids, boolean ifExist) throws TransactionException, UnusableEntryException, RemoteException
public LeaseContext<?> write(Object entry, Transaction txn, long lease, long timeout, int modifiers) throws TransactionException, RemoteException
TransactionException
RemoteException
public LeaseContext<?>[] writeMultiple(Object[] objects, Transaction txn, long lease, long[] leases, long timeout, int modifiers) throws TransactionException, RemoteException
TransactionException
RemoteException
public <T> ChangeResult<T> change(Object template, ChangeSet changeSet, Transaction txn, long timeout, ChangeModifiers modifiers) throws RemoteException, TransactionException
RemoteException
TransactionException
public <T> Future<ChangeResult<T>> asyncChange(Object template, ChangeSet changeSet, Transaction txn, long timeout, ChangeModifiers modifiers, AsyncFutureListener<ChangeResult<T>> listener) throws RemoteException
RemoteException
public AggregationResult aggregate(Object query, AggregationSet aggregationSet, Transaction txn, int modifiers) throws RemoteException, TransactionException, InterruptedException
protected abstract TypeDescriptorActionsProxyExecutor<TSpaceProxy> createTypeDescriptorActionsExecutor()
protected abstract AdminProxyAction<TSpaceProxy> createAdminProxyAction()
protected abstract CountClearProxyAction<TSpaceProxy> createCountClearProxyAction()
protected abstract ReadTakeProxyAction<TSpaceProxy> createReadTakeProxyAction()
protected abstract ReadTakeMultipleProxyAction<TSpaceProxy> createReadTakeMultipleProxyAction()
protected abstract ReadTakeByIdsProxyAction<TSpaceProxy> createReadTakeByIdsProxyAction()
protected abstract ReadTakeEntriesUidsProxyAction<TSpaceProxy> createReadTakeEntriesUidsProxyAction()
protected abstract SnapshotProxyAction<TSpaceProxy> createSnapshotProxyAction()
protected abstract WriteProxyAction<TSpaceProxy> createWriteProxyAction()
protected abstract ChangeProxyAction<TSpaceProxy> createChangeProxyAction()
protected abstract AggregateProxyAction<TSpaceProxy> createAggregateAction()
Copyright © GigaSpaces.