jasco.runtime.distribution
Interface IHostSet
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- HostSet, HostWrapper
public interface IHostSet
- extends java.io.Serializable
containsLocalHost
boolean containsLocalHost()
isLocalHost
boolean isLocalHost()
- returns true iff only execute on local host
- Returns:
selectHostsByStrategy
IHostSet selectHostsByStrategy()
- returns the chosen host
- Returns:
contains
boolean contains(Host host)
toString
java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
selectOneHostByStrategy
Host selectOneHostByStrategy()