com.bigdata.service.jini.master
Class ClientLocator

java.lang.Object
  extended by com.bigdata.service.jini.master.ClientLocator
All Implemented Interfaces:
Externalizable, Serializable

public class ClientLocator
extends Object
implements Externalizable

A locator for a client task. This is just an integer in [0:N-1], where N is the #of clients for the job.

Version:
$Id$
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
ClientLocator()
          Deserialization ctor.
ClientLocator(int clientNo)
           
 
Method Summary
 boolean equals(Object o)
           
 int getClientNo()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientLocator

public ClientLocator()
Deserialization ctor.


ClientLocator

public ClientLocator(int clientNo)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getClientNo

public int getClientNo()

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.