public abstract class AbstractSpaceProxyActionManager<TSpaceProxy extends ISpaceProxy> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSpaceProxyActionManager(TSpaceProxy spaceProxy) |
protected AbstractSpaceProxyActionManager(TSpaceProxy spaceProxy)
public ITypeDesc getTypeDescriptor(String typeName) throws RemoteException
RemoteExceptionpublic void registerTypeDescriptor(ITypeDesc typeDesc) throws RemoteException
RemoteExceptionpublic ITypeDesc registerTypeDescriptor(Class<?> type) throws RemoteException
RemoteExceptionpublic AsyncFuture<AddTypeIndexesResult> asyncAddIndexes(String typeName, SpaceIndex[] indexes, AsyncFutureListener<AddTypeIndexesResult> listener) throws RemoteException
RemoteExceptionpublic void dropClass(String className) throws RemoteException, DropClassException
RemoteExceptionDropClassExceptionpublic void unregisterTypeDescriptor(String typeName) throws RemoteException
RemoteExceptionpublic int clear(Object template, Transaction txn, int modifiers) throws ClearException
ClearExceptionpublic 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
RemoteExceptionTransactionExceptionpublic void ping()
throws RemoteException
RemoteExceptionpublic SpaceHealthStatus getSpaceHealthStatus() throws RemoteException
RemoteExceptionpublic 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
RemoteExceptionpublic 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
RemoteExceptionpublic 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
RemoteExceptionpublic 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
TransactionExceptionRemoteExceptionpublic LeaseContext<?>[] writeMultiple(Object[] objects, Transaction txn, long lease, long[] leases, long timeout, int modifiers) throws TransactionException, RemoteException
TransactionExceptionRemoteExceptionpublic <T> ChangeResult<T> change(Object template, ChangeSet changeSet, Transaction txn, long timeout, ChangeModifiers modifiers) throws RemoteException, TransactionException
RemoteExceptionTransactionExceptionpublic <T> Future<ChangeResult<T>> asyncChange(Object template, ChangeSet changeSet, Transaction txn, long timeout, ChangeModifiers modifiers, AsyncFutureListener<ChangeResult<T>> listener) throws RemoteException
RemoteExceptionpublic 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.