com.sun.jini.outrigger
Interface OutriggerAdmin

All Superinterfaces:
DestroyAdmin, JoinAdmin, Remote
All Known Subinterfaces:
OutriggerServer
All Known Implementing Classes:
OutriggerServerImpl, OutriggerServerWrapper, PersistentOutriggerImpl, TransientOutriggerImpl

interface OutriggerAdmin
extends Remote, DestroyAdmin, JoinAdmin

The interface that is used by the AdminProxy to talk to the server. In other words, this is the server's analog to the JavaSpaceAdmin interface.

Author:
Sun Microsystems, Inc.
See Also:
JavaSpaceAdmin

Method Summary
 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.
 
Methods inherited from interface com.sun.jini.admin.DestroyAdmin
destroy
 
Methods inherited from interface net.jini.admin.JoinAdmin
addLookupAttributes, addLookupGroups, addLookupLocators, getLookupAttributes, getLookupGroups, getLookupLocators, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocators
 

Method Detail

space

JavaSpace space()
                throws RemoteException
Return the space administered by this object.

Throws:
RemoteException

contents

Uuid contents(EntryRep tmpl,
              Transaction txn)
              throws TransactionException,
                     RemoteException
Return the remote iterator object needed by JavaSpaceAdmin.contents.

Throws:
TransactionException
RemoteException

nextReps

EntryRep[] nextReps(Uuid iterationUuid,
                    int max,
                    Uuid entryUuid)
                    throws RemoteException
Fetch up to max EntryRep objects from the specified iteration.

Parameters:
iterationUuid - The Uuid of the iteration to fetch entries from.
max - Advice on the number of entries to return
entryUuid - 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
Throws:
RemoteException

delete

void delete(Uuid iterationUuid,
            Uuid entryUuid)
            throws RemoteException
Delete the given entry if the given iteration is still valid and the entry was retured by the last call to nextReps.

Parameters:
iterationUuid - The Uuid of a valid iteration.
entryUuid - the Uuid of the entry to be deleted.
Throws:
RemoteException

close

void close(Uuid iterationUuid)
           throws RemoteException
Forget about the indicated iteration

Parameters:
iterationUuid - The Uuid iteration to close.
Throws:
RemoteException


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.