public class SimpleTransactionIdentifierFactory extends Object implements TransactionIdentifierFactory<Long>
Constructor and Description |
---|
SimpleTransactionIdentifierFactory() |
Modifier and Type | Method and Description |
---|---|
Long |
createTransactionIdentifier() |
Long |
deserialize(byte[] bytes) |
byte[] |
serialize(Long transactionId) |
int |
size() |
public SimpleTransactionIdentifierFactory()
public Long createTransactionIdentifier()
createTransactionIdentifier
in interface TransactionIdentifierFactory<Long>
TransactionIdentifierFactory.createTransactionIdentifier()
public byte[] serialize(Long transactionId)
serialize
in interface TransactionIdentifierFactory<Long>
TransactionIdentifierFactory.serialize(java.lang.Object)
public Long deserialize(byte[] bytes)
deserialize
in interface TransactionIdentifierFactory<Long>
TransactionIdentifierFactory.deserialize(byte[])
public int size()
size
in interface TransactionIdentifierFactory<Long>
TransactionIdentifierFactory.size()
Copyright © 2004–2014 Paul Ferraro. All rights reserved.