Package | Description |
---|---|
org.apache.commons.transaction.file | |
org.apache.commons.transaction.locking | |
org.apache.commons.transaction.memory | |
org.apache.commons.transaction.util |
Modifier and Type | Field and Description |
---|---|
protected LoggerFacade |
FileResourceManager.logger |
protected LoggerFacade |
FileSequence.logger |
Modifier and Type | Method and Description |
---|---|
LoggerFacade |
FileResourceManager.getLogger()
Gets the logger used by this resource manager.
|
Constructor and Description |
---|
FileResourceManager(String storeDir,
String workDir,
boolean urlEncodePath,
LoggerFacade logger)
Creates a new resource manager operation on the specified directories.
|
FileResourceManager(String storeDir,
String workDir,
boolean urlEncodePath,
LoggerFacade logger,
boolean debug)
Creates a new resource manager operation on the specified directories.
|
FileResourceManager(String storeDir,
String workDir,
ResourceIdToPathMapper idMapper,
LoggerFacade logger,
boolean debug)
Creates a new resource manager operation on the specified directories.
|
FileResourceManager(String storeDir,
String workDir,
ResourceIdToPathMapper idMapper,
TransactionIdToPathMapper txIdMapper,
LoggerFacade logger,
boolean debug)
Creates a new resource manager operation on the specified directories.
|
FileSequence(String storeDir,
LoggerFacade logger)
Creates a new resouce manager operation on the specified directories.
|
VirtualAdminCommandsFileResourceManager(String storeDir,
String workDir,
boolean urlEncodePath,
LoggerFacade logger)
Creates a new resource manager operation on the specified directories.
|
VirtualAdminCommandsFileResourceManager(String storeDir,
String workDir,
boolean urlEncodePath,
LoggerFacade logger,
boolean debug)
Creates a new resource manager operation on the specified directories.
|
VirtualAdminCommandsFileResourceManager(String storeDir,
String workDir,
ResourceIdToPathMapper idMapper,
LoggerFacade logger,
boolean debug)
Creates a new resource manager operation on the specified directories.
|
VirtualAdminCommandsFileResourceManager(String storeDir,
String workDir,
ResourceIdToPathMapper idMapper,
TransactionIdToPathMapper txIdMapper,
LoggerFacade logger,
boolean debug)
Creates a new resource manager operation on the specified directories.
|
Modifier and Type | Field and Description |
---|---|
protected LoggerFacade |
GenericLock.logger |
protected LoggerFacade |
GenericLockManager.logger |
Constructor and Description |
---|
GenericLock(Object resourceId,
int maxLockLevel,
LoggerFacade logger)
Creates a new lock.
|
GenericLockManager(int maxLockLevel,
LoggerFacade logger) |
GenericLockManager(int maxLockLevel,
LoggerFacade logger,
long timeoutMSecs) |
GenericLockManager(int maxLockLevel,
LoggerFacade logger,
long timeoutMSecs,
long checkThreshholdMSecs)
Creates a new generic lock manager.
|
ReadWriteLock(Object resourceId,
LoggerFacade logger)
Creates a new read/write lock.
|
ReadWriteLockManager(int maxLockLevel,
LoggerFacade logger,
long timeoutMSecs) |
ReadWriteLockManager(LoggerFacade logger,
long timeoutMSecs)
Creates a new read/write lock manager.
|
ReadWriteUpgradeLock(Object resourceId,
LoggerFacade logger)
Creates a new read/write/upgrade lock.
|
ReadWriteUpgradeLockManager(LoggerFacade logger,
long timeoutMSecs)
Creates a new read/write/upgrade lock manager.
|
Modifier and Type | Field and Description |
---|---|
protected LoggerFacade |
OptimisticMapWrapper.logger |
Constructor and Description |
---|
OptimisticMapWrapper(Map wrapped,
MapFactory mapFactory,
SetFactory setFactory,
LoggerFacade logger)
Creates a new optimistic transactional map wrapper.
|
PessimisticMapWrapper(Map wrapped,
LoggerFacade logger)
Creates a new pessimistic transactional map wrapper.
|
PessimisticMapWrapper(Map wrapped,
MapFactory mapFactory,
SetFactory setFactory,
LoggerFacade logger)
Creates a new pessimistic transactional map wrapper.
|
Modifier and Type | Class and Description |
---|---|
class |
CommonsLoggingLogger |
class |
Log4jLogger
Default logger implementation.
|
class |
PrintWriterLogger
Logger implementation that logs into a pring writer like the one
passed in JCA.
|
Modifier and Type | Field and Description |
---|---|
protected LoggerFacade |
TurnBarrier.logger |
protected LoggerFacade |
RendezvousBarrier.logger |
Modifier and Type | Method and Description |
---|---|
LoggerFacade |
CommonsLoggingLogger.createLogger(String name) |
LoggerFacade |
Log4jLogger.createLogger(String name) |
LoggerFacade |
PrintWriterLogger.createLogger(String newName) |
LoggerFacade |
LoggerFacade.createLogger(String name) |
Constructor and Description |
---|
RendezvousBarrier(String name,
int parties,
long timeout,
LoggerFacade logger) |
RendezvousBarrier(String name,
LoggerFacade logger) |
RendezvousBarrier(String name,
long timeout,
LoggerFacade logger) |
TurnBarrier(String name,
LoggerFacade logger)
Creates a new turn barrier starting with turn 0 with an unlimited timeout.
|
TurnBarrier(String name,
long timeout,
LoggerFacade logger)
Creates a new turn barrier starting with turn 0.
|
TurnBarrier(String name,
long timeout,
LoggerFacade logger,
int startTurn)
Creates a new turn barrier.
|
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.