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)
Deprecated.
Deprecation since 10.1.1 - apply using
getProcessingUnits() . Processing
Unit instance service statistics history size; Default StatisticsMonitor.DEFAULT_HISTORY_SIZE . |
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.
@Deprecated void setStatisticsHistorySize(int historySize)
getProcessingUnits()
. Processing
Unit instance service statistics history size; Default StatisticsMonitor.DEFAULT_HISTORY_SIZE
.historySize
- the amount of statistics objects to keep.Copyright © GigaSpaces.