public class NoOpTransactionIdToPathMapper extends Object implements TransactionIdToPathMapper
TransactionIdToPathMapper
, which expects
transaction ids being strings and using them as path.Constructor and Description |
---|
NoOpTransactionIdToPathMapper() |
Modifier and Type | Method and Description |
---|---|
Object |
getIdForPath(String path)
Maps the path string to a transaction id object.
|
String |
getPathForId(Object txId)
Maps the transaction id object to a path string.
|
public NoOpTransactionIdToPathMapper()
public String getPathForId(Object txId)
TransactionIdToPathMapper
getPathForId
in interface TransactionIdToPathMapper
txId
- the transaction idpublic Object getIdForPath(String path)
TransactionIdToPathMapper
getIdForPath
in interface TransactionIdToPathMapper
path
- the pathCopyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.