Class GossipScheduler

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--GossipScheduler

public class GossipScheduler
extends java.lang.Thread

Implementa il Thread che si occupa di effettuare il gossip periodico verso i RM remoti.

Author:
Francesco Baschieri
See Also:
GossipManager

Field Summary
private  int index
           
private  int number
           
private  int rnode
           
private  StatoRM stato
          Mantiene un riferimento allo stato del RM locale.
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadQ, values
 
Constructor Summary
GossipScheduler(StatoRM s)
          Crea un istanza di GossipScheduler dato lo stato del RM locale.
 
Method Summary
 void run()
          Ridefinisce l'omonimo metodo della classe java.lang.Thread.
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stato

private StatoRM stato
Mantiene un riferimento allo stato del RM locale.

index

private int index

number

private int number

rnode

private int rnode
Constructor Detail

GossipScheduler

public GossipScheduler(StatoRM s)
Crea un istanza di GossipScheduler dato lo stato del RM locale.
Parameters:
s - Stato del RM locale.
Method Detail

run

public void run()
Ridefinisce l'omonimo metodo della classe java.lang.Thread.
Overrides:
run in class java.lang.Thread