| Package | Description | 
|---|---|
| org.openspaces.admin.esm | 
 Support for managing of Elastic Service Manager(s) through the Admin API. 
 | 
| org.openspaces.admin.esm.events | |
| org.openspaces.admin.gsa | 
 Support for managing of Grid Service Agent(s) through the Admin API. 
 | 
| org.openspaces.admin.samples | |
| org.openspaces.admin.vm | 
 Support for managing of Virtual Machine(s) through the Admin API. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ElasticServiceManager | 
ElasticServiceManagers.getManagerByUID(String uid)
Returns a manager based on its uid. 
 | 
ElasticServiceManager[] | 
ElasticServiceManagers.getManagers()
Returns all the currently discovered managers. 
 | 
ElasticServiceManager | 
ElasticServiceManagers.waitForAtLeastOne()
Waits indefinitely till at least one ESM is discovered and returns it. 
 | 
ElasticServiceManager | 
ElasticServiceManagers.waitForAtLeastOne(long timeout,
                 TimeUnit timeUnit)
Waits for the given timeout (in time unit) till at least one ESM is discovered and returns it. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,ElasticServiceManager> | 
ElasticServiceManagers.getUids()
Returns a map of elastic service manager with the key as the uid. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ElasticServiceManagerAddedEventListener.elasticServiceManagerAdded(ElasticServiceManager elasticServiceManager)
Called when an elastic service manager is added. 
 | 
void | 
ElasticServiceManagerRemovedEventListener.elasticServiceManagerRemoved(ElasticServiceManager elasticServiceManager)
Called when an elastic service manager is removed. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ElasticServiceManager | 
GridServiceAgent.startGridServiceAndWait(ElasticServiceManagerOptions options)
Starts a  
ElasticServiceManager based on the provided options and waits
 indefinitely until it is discovered by the admin, which is then returned. | 
ElasticServiceManager | 
GridServiceAgent.startGridServiceAndWait(ElasticServiceManagerOptions options,
                       long timeout,
                       TimeUnit timeUnit)
Starts a  
ElasticServiceManager based on the provided options and waits
 for the given timeout (in time unit) until it is discovered by the admin, which is then returned. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TestEventSampler.elasticServiceManagerAdded(ElasticServiceManager elasticServiceManager)  | 
void | 
TestEventSampler.elasticServiceManagerRemoved(ElasticServiceManager elasticServiceManager)  | 
| Modifier and Type | Method and Description | 
|---|---|
ElasticServiceManager | 
VirtualMachine.getElasticServiceManager()
Returns the elastic service manager started within this virtual machine. 
 | 
Copyright © GigaSpaces.