public interface Application
Modifier and Type | Method and Description |
---|---|
ProcessingUnit |
deployProcessingUnit(ProcessingUnitDeploymentTopology puDeployment)
Deploys the specified processing unit adding it to this application
|
ProcessingUnit |
deployProcessingUnit(ProcessingUnitDeploymentTopology puDeployment,
long timeout,
TimeUnit timeUnit)
Deploys the specified processing unit adding it to this application
|
String |
getName() |
ProcessingUnits |
getProcessingUnits() |
void |
setStatisticsHistorySize(int historySize)
Sets the history size of number for the processing units
|
void |
undeployAndWait()
Undeploys all Processing Units that are part of the application and waits until all instances have been undeployed.
|
boolean |
undeployAndWait(long timeout,
TimeUnit timeUnit)
Undeploys all Processing Units that are part of the application and waits until all instances have been undeployed.
|
ProcessingUnits getProcessingUnits()
String getName()
ProcessingUnit deployProcessingUnit(ProcessingUnitDeploymentTopology puDeployment)
ProcessingUnit deployProcessingUnit(ProcessingUnitDeploymentTopology puDeployment, long timeout, TimeUnit timeUnit)
void undeployAndWait()
The undeployment process will wait indefinitely and return when all processing units have undeployed.
boolean undeployAndWait(long timeout, TimeUnit timeUnit)
The undeployment process waits for the specified timeout and return when all processing units of the application has been undeployed or timeout expired. * @return true if all processing units have undeployed, false if undeployment process is incomplete and the timeout expired.
void setStatisticsHistorySize(int historySize)
Copyright © GigaSpaces.