com.atomikos.icatch.imp
Class ExtentImp

java.lang.Object
  extended by com.atomikos.icatch.imp.ExtentImp
All Implemented Interfaces:
Extent, Serializable

public class ExtentImp
extends Object
implements Extent

The extent carries the information about the 'size' of a propagation after it returns: the indirectly invoked servers, and the orphan detection information for those.

See Also:
Serialized Form

Constructor Summary
ExtentImp()
           
ExtentImp(Hashtable<String,Integer> participants, Stack<Participant> directs)
           
 
Method Summary
 void add(Extent extent)
           
 void add(Participant participant, int count)
           
 void addRemoteParticipants(Dictionary<String,Integer> participants)
           
 Stack<Participant> getParticipants()
           
 Hashtable<String,Integer> getRemoteParticipants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtentImp

public ExtentImp()

ExtentImp

public ExtentImp(Hashtable<String,Integer> participants,
                 Stack<Participant> directs)
Method Detail

addRemoteParticipants

public void addRemoteParticipants(Dictionary<String,Integer> participants)
                           throws IllegalStateException,
                                  SysException
Throws:
IllegalStateException
SysException

getRemoteParticipants

public Hashtable<String,Integer> getRemoteParticipants()
Specified by:
getRemoteParticipants in interface Extent
See Also:
Extent

getParticipants

public Stack<Participant> getParticipants()
Specified by:
getParticipants in interface Extent
See Also:
Extent

add

public void add(Participant participant,
                int count)
         throws SysException,
                IllegalStateException
Specified by:
add in interface Extent
Throws:
SysException
IllegalStateException
See Also:
Extent

add

public void add(Extent extent)
         throws IllegalStateException,
                SysException
Specified by:
add in interface Extent
Throws:
IllegalStateException
SysException
See Also:
Extent


Copyright © 2014. All Rights Reserved.