|
GigaSpaces XAP 7.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openspaces.grid.esm.NullElasticScaleHandler
public class NullElasticScaleHandler
Constructor Summary | |
---|---|
NullElasticScaleHandler()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullElasticScaleHandler()
Method Detail |
---|
public void init(ElasticScaleHandlerConfig config)
ElasticScaleHandler
init
in interface ElasticScaleHandler
config
- The scale configuration.public boolean accept(Machine machine)
ElasticScaleHandler
accept
in interface ElasticScaleHandler
machine
- The machine to accept to filter.
true
to use this machine to start a GSC on; false
to skip it.public void scaleOut(ElasticScaleHandlerContext context)
ElasticScaleHandler
scaleOut
in interface ElasticScaleHandler
context
- Context detailspublic void scaleIn(Machine machine)
ElasticScaleHandler
scaleIn
in interface ElasticScaleHandler
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 |