当前页面:
在线文档首页 >
JBoss 3.2.7 Cache API Documentation 英文版文档
GlobalTransaction (JBoss Cache API) - JBoss 3.2.7 Cache API Documentation 英文版文档
org.jboss.cache
Class GlobalTransaction
java.lang.Object
org.jboss.cache.GlobalTransaction
- All Implemented Interfaces:
- Externalizable, Serializable
- public class GlobalTransaction
- extends Object
- implements Externalizable
Uniquely identifies a transaction that spans all nodes in a cluster. This is used when
replicating all modifications in a transaction; the PREPARE and COMMIT (or ROLLBACK)
messages have to have a unique identifier to associate the changes with
- Version:
- $Revision: 1.4.2.6 $
- Author:
- Bela Ban Apr 12, 2003
- See Also:
- Serialized Form
GlobalTransaction
public GlobalTransaction()
create
public static GlobalTransaction create(org.jgroups.Address addr)
getAddress
public Object getAddress()
getId
public long getId()
hashCode
public int hashCode()
equals
public boolean equals(Object other)
compareTo
public int compareTo(Object o)
toString
public String toString()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.