org.ourgrid.mygrid.scheduler
Class PeerEntry
java.lang.Object
org.ourgrid.mygrid.scheduler.PeerEntry
- All Implemented Interfaces:
- java.io.Serializable
public class PeerEntry
- extends java.lang.Object
- implements java.io.Serializable
This class is intended to store a GuMSpec and its corresponding gump if it
could be instantiated. It it could not, every time the getGuMP()
method is called,
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeerEntry
public PeerEntry(PeerSpec peerSpec)
getPeer
public Gump getPeer()
- Gets the instance of the GridMachineProvider that corresponds to a given
gumpSpec.
- Returns:
- Returns the gridMachineProvider or null if it could not be
created.
getPeerSpec
public PeerSpec getPeerSpec()
- Gets the GuMPSpec of this
GuMPEntry
.
- Returns:
- Returns the gumpSpec.
getStatus
public PeerEntry.PeerState getStatus()
setPeerStatus
public void setPeerStatus(PeerEntry.PeerState status)
equals
public boolean equals(PeerSpec peerSpec)