com.j_spaces.core.client
Class LocalTransactionManager
java.lang.Object
com.j_spaces.core.client.LocalTransactionManager
- All Implemented Interfaces:
- Externalizable, Serializable, Remote, ExtendedTransactionManager, TransactionConstants, TransactionManager
Deprecated. Since 8.0 - Use JINI transactions instead.
@Deprecated
public abstract class LocalTransactionManager
- extends Object
- implements ExtendedTransactionManager, Serializable, Externalizable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.jini.core.transaction.server.ExtendedTransactionManager |
abort, abort, commit, commit, create, disJoin, getState, join, join, join, prepare |
LocalTransactionManager
public LocalTransactionManager()
- Deprecated.
getInstance
public static TransactionManager getInstance(IMap map)
throws RemoteException
- Deprecated.
- Returns single instance of LocalTransactionManager per map.
<b>Usage:</b>
TransactionManager localTxnManager = LocalTransactionManager( (IMap)map );
Transaction.Created tCreated = TransactionFactory.create(localTxnManager, 60000);
Transaction tr = tCreated.transaction;
- Parameters:
map
- The IMap implementation.
- Returns:
- Returns instance of LocalTransactionManager.
- Throws:
RemoteException
- Failed to initialize LocalTransactionManager, or if the passed
space proxy is null.- See Also:
TransactionManager
getInstance
public static TransactionManager getInstance(IJSpace space)
throws RemoteException
- Deprecated.
- Returns single instance of LocalTransactionManager per space.
<b>Usage:</b>
TransactionManager localTxnManager = LocalTransactionManager( (IJSpace)space );
Transaction.Created tCreated = TransactionFactory.create(localTxnManager, 60000);
Transaction tr = tCreated.transaction;
- Parameters:
space
- The space proxy.
- Returns:
- Returns instance of LocalTransactionManager.
- Throws:
RemoteException
- Failed to initialize LocalTransactionManager, or if the passed
space proxy is null.- See Also:
TransactionManager
destroy
public abstract void destroy()
- Deprecated.
Copyright © GigaSpaces.