ibis.satin.impl.spawnSync
Class IRVector

java.lang.Object
  extended by ibis.satin.impl.spawnSync.IRVector
All Implemented Interfaces:
Config

public final class IRVector
extends Object
implements Config

A vector of invocation records.


Field Summary
 
Fields inherited from interface ibis.satin.impl.Config
abortLogger, ASSERTS, CHECKPOINT_CLUSTER, CHECKPOINT_FILE, CHECKPOINT_FIRST, CHECKPOINT_INTERVAL, CHECKPOINT_MAXFILESIZE, CHECKPOINT_PUSH, CHECKPOINT_QUITTIME, CHECKPOINTING, CLIENT, CLOSE_CONNECTIONS, CLOSED, commLogger, CONNECT_TIMEOUT, CONNECTIONS_ON_DEMAND, connLogger, COORDINATOR_QUIT_DELAY_TIME, DELETE_CLUSTER_TIME, DELETE_TIME, DETAILED_STATS, DUMP, FT_NAIVE, ftLogger, grtLogger, HANDLE_MESSAGES_IN_LATENCY, inletLogger, KEEP_INTRA_CONNECTIONS, KILL_TIME, LABEL_ROUTING_MCAST, mainLogger, MASTER_HOST, MAX_CONNECTIONS, MAX_STEAL_THROTTLE, properties, PROPERTY_PREFIX, QUEUE_STEALS, s_alg, s_asserts, s_client, s_close_connections, s_closed, s_connections_on_demand, s_cpt, s_cpt_cluster, s_cpt_file, s_cpt_first, s_cpt_interval, s_cpt_maxFileSize, s_cpt_push, s_cpt_quit, s_delete_cluster_time, s_delete_time, s_detailed_stats, s_dump, s_ft_connectTimeout, s_ft_naive, s_in_latency, s_keep_intra_connections, s_kill_time, s_masterhost, s_max_connections, s_max_steal_throttle, s_queue_steals, s_so_delay, s_so_lrmc, s_so_size, s_so_wait_time, s_stats, s_steal_wait_timeout, s_throttle_steals, s_unreliable, SO_MAX_INVOCATION_DELAY, SO_MAX_MESSAGE_SIZE, SO_WAIT_FOR_UPDATES_TIME, soBcastLogger, soLogger, spawnLogger, STATS, STEAL_WAIT_TIMEOUT, stealLogger, SUPPLIED_ALG, sysprops, THROTTLE_STEALS, UNRELIABLE
 
Constructor Summary
IRVector(Satin s)
           
 
Method Summary
 void add(InvocationRecord r)
           
 InvocationRecord first()
           
 void killAll()
           
 void killAndStoreSubtreeOf(ibis.ipl.IbisIdentifier targetOwner)
           
 void killChildrenOf(Stamp targetStamp, boolean store)
           
 void killSubtreeOf(ibis.ipl.IbisIdentifier targetOwner)
           
 void print(PrintStream out)
           
 void redoStolenBy(ibis.ipl.IbisIdentifier crashedIbis)
          Used for fault tolerance.
 InvocationRecord remove(InvocationRecord r)
           
 InvocationRecord remove(Stamp stamp)
           
 InvocationRecord removeIndex(int i)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IRVector

public IRVector(Satin s)
Method Detail

add

public void add(InvocationRecord r)

size

public int size()

remove

public InvocationRecord remove(Stamp stamp)

remove

public InvocationRecord remove(InvocationRecord r)

killChildrenOf

public void killChildrenOf(Stamp targetStamp,
                           boolean store)

killAndStoreSubtreeOf

public void killAndStoreSubtreeOf(ibis.ipl.IbisIdentifier targetOwner)

killSubtreeOf

public void killSubtreeOf(ibis.ipl.IbisIdentifier targetOwner)

killAll

public void killAll()

removeIndex

public InvocationRecord removeIndex(int i)

redoStolenBy

public void redoStolenBy(ibis.ipl.IbisIdentifier crashedIbis)
Used for fault tolerance. Remove all the jobs stolen by targetOwner and put them back in the taskQueue.


print

public void print(PrintStream out)

first

public InvocationRecord first()


The Ibis project