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)
TransactionIdToPathMappergetPathForId in interface TransactionIdToPathMappertxId - the transaction idpublic Object getIdForPath(String path)
TransactionIdToPathMappergetIdForPath in interface TransactionIdToPathMapperpath - the pathCopyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.