|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Applications
Holds one or more Application
s
Method Summary | |
---|---|
void |
addLifecycleListener(ApplicationLifecycleEventListener eventListener)
Allows to add a ApplicationLifecycleEventListener . |
Application |
getApplication(String name)
Returns the Application for the given processing unit name. |
ApplicationAddedEventManager |
getApplicationAdded()
Returns an event manager allowing to register ApplicationAddedEventListener s. |
ApplicationRemovedEventManager |
getApplicationRemoved()
Returns an event manager allowing to register ProcessingUnitRemovedEventListener s. |
Application[] |
getApplications()
Returns the Application s currently deployed. |
Map<String,Application> |
getNames()
Returns a map of Application keyed by their respective names. |
int |
getSize()
Returns the number of currently deployed Application s. |
boolean |
isEmpty()
Returns true if there are no currently deployed applications. |
void |
removeLifecycleListener(ApplicationLifecycleEventListener eventListener)
Allows to remove a ApplicationLifecycleEventListener . |
Application |
waitFor(String applicationName)
Waits indefinitely till the application is identified as deployed. |
Application |
waitFor(String applicationName,
long timeout,
TimeUnit timeUnit)
Waits for the specified timeout (in time interval) till the application is identified as deployed. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Methods inherited from interface org.openspaces.admin.AdminAware |
---|
getAdmin |
Method Detail |
---|
int getSize()
Application
s.
boolean isEmpty()
true
if there are no currently deployed applications.
Application[] getApplications()
Application
s currently deployed.
Application getApplication(String name)
Application
for the given processing unit name.
Map<String,Application> getNames()
Application
keyed by their respective names.
Application waitFor(String applicationName)
Application
.
Application waitFor(String applicationName, long timeout, TimeUnit timeUnit)
Application
. Return null
if the application is not deployed
within the specified timeout.
ApplicationAddedEventManager getApplicationAdded()
ApplicationAddedEventListener
s.
ApplicationRemovedEventManager getApplicationRemoved()
ProcessingUnitRemovedEventListener
s.
void addLifecycleListener(ApplicationLifecycleEventListener eventListener)
ApplicationLifecycleEventListener
.
void removeLifecycleListener(ApplicationLifecycleEventListener eventListener)
ApplicationLifecycleEventListener
.
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |