All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class replica.PassiveReplicationState

java.lang.Object
   |
   +----replica.PassiveReplicationState

public class PassiveReplicationState
extends Object
PassiveReplication.java This class hides the strategy for method invocations and object transmission in the case of replication

Version:
1.0
Author:
Markus Jäger

Variable Index

 o STATE_DEAD
 o STATE_NOACCESS
 o STATE_RACCESS
 o STATE_RTORW
 o STATE_RWACCESS
 o STATE_RWTOR
 o STATE_RWTORW
 o stateChanges

Constructor Index

 o PassiveReplicationState(PassiveReplication, PassiveReplication, PassiveReplication)

Method Index

 o dump()
 o getAttachedObject()
 o getNewInstaller(RemoteObjectReference)
 o getProbPrimary()
 o getProbSnooper()
 o getReplicaAdmin()
 o getReplicas()
 o getReplicaState()
 o getTmpProbPrimary()
 o hasStateChanged()
 o indicateStateChange()
 o isDead()
 o kill()
 o readAccess()
 o readWriteAccess()
 o removeStateChanged()
 o resetStateChanged()
 o setAttachedObject(Object)
 o setNewState(PassiveReplication, PassiveReplication, int, Vector, Object)
 o setProbSnooper(PassiveReplication)
 o setReadAccess()
 o setReadWriteAccess()

Variables

 o STATE_RACCESS
 public static final int STATE_RACCESS
 o STATE_RWACCESS
 public static final int STATE_RWACCESS
 o STATE_NOACCESS
 public static final int STATE_NOACCESS
 o STATE_DEAD
 public static final int STATE_DEAD
 o STATE_RTORW
 public static final int STATE_RTORW
 o STATE_RWTOR
 public static final int STATE_RWTOR
 o STATE_RWTORW
 public static final int STATE_RWTORW
 o stateChanges
 public Hashtable stateChanges

Constructors

 o PassiveReplicationState
 public PassiveReplicationState(PassiveReplication par,
                                PassiveReplication newProbPrimary,
                                PassiveReplication newProbSnooper)

Methods

 o getNewInstaller
 public synchronized PassiveReplicationInstaller getNewInstaller(RemoteObjectReference id)
 o dump
 public void dump()
 o setNewState
 public synchronized void setNewState(PassiveReplication newProbPrimary,
                                      PassiveReplication newProbSnooper,
                                      int newReplicaState,
                                      Vector vector,
                                      Object newAttachedObject)
 o setAttachedObject
 public void setAttachedObject(Object obj)
 o getAttachedObject
 public synchronized Object getAttachedObject()
 o getProbPrimary
 public synchronized PassiveReplication getProbPrimary()
 o getProbSnooper
 public synchronized PassiveReplication getProbSnooper()
 o setProbSnooper
 public synchronized void setProbSnooper(PassiveReplication newProbSnooper)
 o getTmpProbPrimary
 public synchronized PassiveReplication getTmpProbPrimary()
 o getReplicas
 public synchronized PassiveReplication getReplicas()
 o getReplicaAdmin
 public synchronized MultiAccessRemoteTransmitROR getReplicaAdmin()
 o getReplicaState
 public synchronized int getReplicaState()
 o kill
 public synchronized void kill()
 o isDead
 public synchronized boolean isDead()
 o readAccess
 public synchronized boolean readAccess()
 o setReadAccess
 public synchronized void setReadAccess()
 o readWriteAccess
 public synchronized boolean readWriteAccess()
 o setReadWriteAccess
 public synchronized void setReadWriteAccess()
 o resetStateChanged
 public synchronized void resetStateChanged()
 o hasStateChanged
 public synchronized boolean hasStateChanged()
 o removeStateChanged
 public synchronized void removeStateChanged()
 o indicateStateChange
 public synchronized void indicateStateChange()

All Packages  Class Hierarchy  This Package  Previous  Next  Index