ehcache

net.sf.ehcache.transaction
Class TransactionIDImpl

java.lang.Object
  extended by net.sf.ehcache.transaction.TransactionIDImpl
All Implemented Interfaces:
Serializable, TransactionID
Direct Known Subclasses:
ExpiredTransactionIDImpl

public class TransactionIDImpl
extends Object
implements TransactionID

A transaction ID implementation with uniqueness across a single JVM

Author:
Ludovic Orban
See Also:
Serialized Form

Constructor Summary
  TransactionIDImpl()
          Create a new TransactionIDImpl instance
protected TransactionIDImpl(TransactionIDImpl transactionId)
          Create a new TransactionIDImpl instance from an existing one
 
Method Summary
 boolean equals(Object obj)
          
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionIDImpl

public TransactionIDImpl()
Create a new TransactionIDImpl instance


TransactionIDImpl

protected TransactionIDImpl(TransactionIDImpl transactionId)
Create a new TransactionIDImpl instance from an existing one

Parameters:
transactionId - the transaction Id to copy
Method Detail

equals

public final boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public final int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object

ehcache

Copyright 2001-2017, Terracotta, Inc.