com.sun.jini.outrigger
Interface JavaSpaceAdmin
- public abstract interface JavaSpaceAdmin
- extends JoinAdmin, DestroyAdmin, RegistryAdmin
This interface contains all the administrative methods that Outrigger
provides to control its JavaSpacesTM
service.
|
Method Summary |
AdminIterator |
contents(Entry tmpl,
Transaction txn)
Return an AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction. |
AdminIterator |
contents(Entry tmpl,
Transaction txn,
int fetchSize)
Return an AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction. |
JavaSpace |
space()
Return the space that this administrative object governs. |
| Methods inherited from interface net.jini.admin.JoinAdmin |
addLookupAttributes,
addLookupGroups,
addLookupLocators,
getLookupAttributes,
getLookupGroups,
getLookupLocators,
modifyLookupAttributes,
removeLookupGroups,
removeLookupLocators,
setLookupGroups,
setLookupLocators |
space
public JavaSpace space()
throws java.rmi.RemoteException
- Return the space that this administrative object governs.
contents
public AdminIterator contents(Entry tmpl,
Transaction txn)
throws TransactionException,
java.lang.SecurityException,
java.rmi.RemoteException
- Return an
AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction.
The interactions between other operations on the space and
the returned iterator are undefined
- Parameters:
tmpl - The iterator should return only entries that match
tmpltxn - The iterator should return only entries that match
this transaction
contents
public AdminIterator contents(Entry tmpl,
Transaction txn,
int fetchSize)
throws TransactionException,
java.lang.SecurityException,
java.rmi.RemoteException
- Return an
AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction.
The interactions between other operations on the space and
the returned iterator are undefined
- Parameters:
tmpl - The iterator should return only entries that match
tmpltxn - The iterator should return only entries that match
this transactionfetchSize - advice on how many entries to fetch when the iterator
has to go to the server for more entries.
Copyright © 1999 Sun Microsystems, Inc. All rights reserved