interface OutriggerAdmin extends Remote, DestroyAdmin, JoinAdmin
AdminProxy
to talk
to the server. In other words, this is the server's analog to the
JavaSpaceAdmin
interface.JavaSpaceAdmin
Modifier and Type | Method and Description |
---|---|
void |
close(Uuid iterationUuid)
Forget about the indicated iteration
|
Uuid |
contents(EntryRep tmpl,
Transaction txn)
Return the remote iterator object needed by
JavaSpaceAdmin.contents . |
void |
delete(Uuid iterationUuid,
Uuid entryUuid)
Delete the given entry if the given iteration is still
valid and the entry was retured by the last call to
nextReps . |
EntryRep[] |
nextReps(Uuid iterationUuid,
int max,
Uuid entryUuid)
Fetch up to
max EntryRep objects from
the specified iteration. |
JavaSpace |
space()
Return the space administered by this object.
|
destroy
addLookupAttributes, addLookupGroups, addLookupLocators, getLookupAttributes, getLookupGroups, getLookupLocators, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocators
JavaSpace space() throws RemoteException
RemoteException
Uuid contents(EntryRep tmpl, Transaction txn) throws TransactionException, RemoteException
JavaSpaceAdmin.contents
.TransactionException
RemoteException
EntryRep[] nextReps(Uuid iterationUuid, int max, Uuid entryUuid) throws RemoteException
max
EntryRep
objects from
the specified iteration.iterationUuid
- The Uuid
of the iteration
to fetch entries from.max
- Advice on the number of entries to returnentryUuid
- Uuid
of the last entry received by the
caller. If this does not match the ID of the last
entry sent by the iterator will re-send that last
batch in place of a new batch. May be
null
in which case a new batch will be
sent. The first call to next()
should
have id
set to null
RemoteException
void delete(Uuid iterationUuid, Uuid entryUuid) throws RemoteException
nextReps
.iterationUuid
- The Uuid
of a valid
iteration.entryUuid
- the Uuid
of the entry
to be deleted.RemoteException
void close(Uuid iterationUuid) throws RemoteException
iterationUuid
- The Uuid
iteration to close.RemoteException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.