|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectappl.parallel.services.GlobalDiscoveryService
public class GlobalDiscoveryService
This class is responsible for discovering Resources. For this it first starts
all known DiscoveryServices
and queries them for
known Computing Resources
.
This class starts all DiscoveryService
s registered with the following
property in the XuluConfig
:
DiscoveryServices.activeServices
Register DiscoveryServices
with their fully
qualified java name because
Class.forName
will be called on that
String.
Constructor Summary | |
---|---|
GlobalDiscoveryService()
Looks up all services from the config file, loads them and also starts them. |
Method Summary | |
---|---|
Vector<ComputingResourceContainer> |
getRemoteResources()
|
boolean |
isRunning()
|
void |
startService()
Starts the service |
void |
stopService()
Stops the service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalDiscoveryService()
Method Detail |
---|
public Vector<ComputingResourceContainer> getRemoteResources()
RemoteResources
in a
container class with meta in the a ComputingResourceContainer
Object. They are queried from all known Discovery Services. Do
not query more than necessary!public boolean isRunning()
isRunning
in interface Service
public void startService()
Service
startService
in interface Service
public void stopService()
Service
stopService
in interface Service
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |