站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.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

Constructor Summary
GlobalTransaction()
           
 
Method Summary
 int compareTo(Object o)
           
static GlobalTransaction create(org.jgroups.Address addr)
           
 boolean equals(Object other)
           
 Object getAddress()
           
 long getId()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalTransaction

public GlobalTransaction()
Method Detail

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.