ibis.satin.impl.spawnSync
Class IRStack

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

public final class IRStack
extends Object
implements Config

A stack 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
IRStack(Satin s)
           
 
Method Summary
 boolean contains(InvocationRecord r)
           
 ArrayList<InvocationRecord> getAllFinishedChildren(Victim victim)
           
 ArrayList<InvocationRecord> killChildrenOf(Stamp targetStamp, boolean store)
          If store is true (used for fault tolerance), a list of jobs to store is returned.
 ArrayList<InvocationRecord> killSubtreesOf(ibis.ipl.IbisIdentifier targetOwner)
          Used for fault tolerance.
 ArrayList<ReturnRecord> peekFinishedJobs()
           
 void pop()
           
 void print(PrintStream out)
           
 void push(InvocationRecord r)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IRStack

public IRStack(Satin s)
Method Detail

size

public int size()

contains

public boolean contains(InvocationRecord r)

push

public void push(InvocationRecord r)

pop

public void pop()

killChildrenOf

public ArrayList<InvocationRecord> killChildrenOf(Stamp targetStamp,
                                                  boolean store)
If store is true (used for fault tolerance), a list of jobs to store is returned. Otherwise, null is returned


killSubtreesOf

public ArrayList<InvocationRecord> killSubtreesOf(ibis.ipl.IbisIdentifier targetOwner)
Used for fault tolerance. Kill every job that was spawned on targetOwner or is a child of a job spawned on targetOwner. Store all finished children of the aborted jobs in the global result table.


getAllFinishedChildren

public ArrayList<InvocationRecord> getAllFinishedChildren(Victim victim)

peekFinishedJobs

public ArrayList<ReturnRecord> peekFinishedJobs()

print

public void print(PrintStream out)


The Ibis project