|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gridsystems.nextgrid.api.ram.DefaultDiscoverer
public class DefaultDiscoverer
Type description.
Constructor Summary | |
---|---|
DefaultDiscoverer()
Creates a new instance with a default list implementation (ArrayList). |
|
DefaultDiscoverer(boolean merge)
Creates a new instance with a default list implementation (ArrayList), and the specified merge flag value. |
|
DefaultDiscoverer(java.util.List<nextgrid.api.ram.Registry> registries,
boolean merge)
Creates a new instance. |
Method Summary | |
---|---|
void |
addRegistry(nextgrid.api.ram.Registry reg)
Adds a new registry to the managed list. |
java.util.Collection<nextgrid.api.pom.Process> |
discover(nextgrid.api.pom.AbstractProcess process)
|
java.util.Collection<nextgrid.api.pom.Process> |
discover(nextgrid.api.pom.QueryProfile profile)
|
java.util.List<nextgrid.api.ram.Registry> |
getRegistries()
|
boolean |
isMergeEnabled()
Gets the merge flag value. |
void |
setMergeEnabled(boolean merge)
Sets the merge flag value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDiscoverer()
public DefaultDiscoverer(boolean merge)
merge
- The initial merge flag valuepublic DefaultDiscoverer(java.util.List<nextgrid.api.ram.Registry> registries, boolean merge)
Using this constructor the programmer can specify a list implementation with a custom iteration policy, or with a different performance profile.
registries
- A list instance for storing registriesmerge
- Results merge flagMethod Detail |
---|
public java.util.List<nextgrid.api.ram.Registry> getRegistries()
getRegistries
in interface nextgrid.api.ram.Discoverer
public void setMergeEnabled(boolean merge)
merge
- The new flag valuepublic boolean isMergeEnabled()
public void addRegistry(nextgrid.api.ram.Registry reg)
reg
- The registry to addpublic java.util.Collection<nextgrid.api.pom.Process> discover(nextgrid.api.pom.AbstractProcess process) throws nextgrid.api.env.DiscoveryException
discover
in interface nextgrid.api.env.ProcessDiscoverer
nextgrid.api.env.DiscoveryException
public java.util.Collection<nextgrid.api.pom.Process> discover(nextgrid.api.pom.QueryProfile profile) throws nextgrid.api.env.DiscoveryException
discover
in interface nextgrid.api.env.ProcessDiscoverer
nextgrid.api.env.DiscoveryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |