interface TransactableMgr extends TransactableConstants
OutriggerServerImpl object's transaction state for a
particular transaction. A TransactableMgr object has
a list of Transactable objects which represent
operations performed on the space under this transaction.OutriggerServerImpl,
TransactableREAD, stateNames, TAKE, WRITE| Modifier and Type | Method and Description |
|---|---|
Transactable |
add(Transactable t)
Add a new
Transactable object to the list of transactable
operations managed by this object. |
ServerTransaction |
getTransaction(ProxyPreparer preparer)
Return the
ServerTransaction which this manager
handles. |
ServerTransaction getTransaction(ProxyPreparer preparer) throws IOException, ClassNotFoundException
ServerTransaction which this manager
handles. If necessary deserialize the manager and optionally
prepare it. Will only deserialize the manager if it has not
already been deserialized. Will only prepare the manager if
preparer is non-null and no previous call to
getTransaction has succeeded. If this method
throws an exception, preparation has not succeeded. If a
previous call to this method has succeed, all future calls will
succeed and return the same object as the first successful
call.preparer - the ProxyPreparer to
be used to prepare the reference. May
be null.ServerTransaction which this manager
handles.IOException - if the unmarshalling fails. Will
also throw RemoteException
if preparer.prepareProxy
does.ClassNotFoundException - if unmarshalling fails
with one.SecurityException - if preparer does.Transactable add(Transactable t)
Transactable object to the list of transactable
operations managed by this object.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.