|
GigaSpaces XAP 7.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElasticScaleHandler
An API to be called upon when in need to scale out to a different machine, or scale in when the machine is no longer needed. When scaling
Disclaimer: This interface and the elastic data grid functionality is provided as a technology preview in XAP 7.1. As such, it is subject to API and behavior changes in the next XAP releases without going through the usual deprecation process of the XAP API.
Method Summary | |
---|---|
boolean |
accept(Machine machine)
A machine can be accepted/not-accepted (filtered) for whatever reason at any point in time. |
void |
init(ElasticScaleHandlerConfig config)
An initialization call, parameterized with the configuration used at deployment. |
void |
scaleIn(Machine machine)
A scale in request to terminate a machine. |
void |
scaleOut(ElasticScaleHandlerContext context)
A scale out request to start a machine. |
Method Detail |
---|
void init(ElasticScaleHandlerConfig config)
config
- The scale configuration.boolean accept(Machine machine)
machine
- The machine to accept to filter.
true
to use this machine to start a GSC on; false
to skip it.void scaleOut(ElasticScaleHandlerContext context)
context
- Context detailsvoid scaleIn(Machine machine)
machine
- The machine to terminate.
|
GigaSpaces XAP 7.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |