ibis.satin.impl.loadBalancing
Class Victim

java.lang.Object
  extended by ibis.satin.impl.loadBalancing.Victim
All Implemented Interfaces:
Config

public final class Victim
extends Object
implements Config

Author:
rob A Victim represents an Ibis we can steal work from. This class is immutable, only the sendport itself could be connected and disconnected.

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
Victim(ibis.ipl.IbisIdentifier ident, ibis.ipl.SendPort s)
           
 
Method Summary
 void close()
           
static String clusterOf(ibis.ipl.IbisIdentifier id)
           
 void connect()
           
 boolean equals(Object o)
           
 boolean equals(Victim other)
           
 long finish(ibis.ipl.WriteMessage m)
           
 void finish(ibis.ipl.WriteMessage m, IOException e)
           
 ibis.ipl.IbisIdentifier getIdent()
           
 int hashCode()
           
 boolean isConnected()
           
 ibis.ipl.WriteMessage newMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Victim

public Victim(ibis.ipl.IbisIdentifier ident,
              ibis.ipl.SendPort s)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

equals

public boolean equals(Victim other)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

isConnected

public boolean isConnected()

connect

public void connect()

newMessage

public ibis.ipl.WriteMessage newMessage()
                                 throws IOException
Throws:
IOException

finish

public long finish(ibis.ipl.WriteMessage m)
            throws IOException
Throws:
IOException

finish

public void finish(ibis.ipl.WriteMessage m,
                   IOException e)

close

public void close()

getIdent

public ibis.ipl.IbisIdentifier getIdent()

clusterOf

public static String clusterOf(ibis.ipl.IbisIdentifier id)


The Ibis project