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
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 void unregisterTypeDescriptor(String typeName) throws RemoteException
RemoteException
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.