Class TransactionSharedObjectConfiguration
java.lang.Object
org.eclipse.ecf.core.sharedobject.TransactionSharedObjectConfiguration
- All Implemented Interfaces:
ISharedObjectTransactionConfig
public class TransactionSharedObjectConfiguration
extends Object
implements ISharedObjectTransactionConfig
Configuration parameters for transaction shared object creation and
replication.
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
Fields inherited from interface org.eclipse.ecf.core.sharedobject.ISharedObjectTransactionConfig
DEFAULT_TIMEOUT
-
Constructor Summary
ConstructorDescriptionTransactionSharedObjectConfiguration
(int timeout) TransactionSharedObjectConfiguration
(int timeout, ISharedObjectTransactionParticipantsFilter filter) -
Method Summary
Modifier and TypeMethodDescriptionCalled by transaction implementation to specify filter for determining transaction participantsint
Called by transaction implementation to specify transaction timeout
-
Field Details
-
timeout
protected int timeout -
participantsFilter
-
-
Constructor Details
-
TransactionSharedObjectConfiguration
public TransactionSharedObjectConfiguration() -
TransactionSharedObjectConfiguration
public TransactionSharedObjectConfiguration(int timeout)
-
-
Method Details
-
getTimeout
public int getTimeout()Description copied from interface:ISharedObjectTransactionConfig
Called by transaction implementation to specify transaction timeout- Specified by:
getTimeout
in interfaceISharedObjectTransactionConfig
-
getParticipantsFilter
Description copied from interface:ISharedObjectTransactionConfig
Called by transaction implementation to specify filter for determining transaction participants- Specified by:
getParticipantsFilter
in interfaceISharedObjectTransactionConfig
- Returns:
ISharedObjectTransactionParticipantsFilter
. If this method returns a non-null instance, that instance'sISharedObjectTransactionParticipantsFilter.filterParticipants(org.eclipse.ecf.core.identity.ID[])
method will be called
-