|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gemstone.gemfire.cache.execute.FunctionAdapter
com.googlecode.icegem.utils.RegionSizeFunction
public class RegionSizeFunction
| Constructor Summary | |
|---|---|
RegionSizeFunction()
|
|
| Method Summary | |
|---|---|
void |
execute(com.gemstone.gemfire.cache.execute.FunctionContext ctx)
|
java.lang.String |
getId()
|
boolean |
optimizeForWrite()
NOTE: This method should return true so that the function would not be sent to nodes which don't have any primary data. |
| Methods inherited from class com.gemstone.gemfire.cache.execute.FunctionAdapter |
|---|
hasResult, isHA |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegionSizeFunction()
| Method Detail |
|---|
public java.lang.String getId()
getId in interface com.gemstone.gemfire.cache.execute.FunctiongetId in class com.gemstone.gemfire.cache.execute.FunctionAdapterpublic boolean optimizeForWrite()
optimizeForWrite in interface com.gemstone.gemfire.cache.execute.FunctionoptimizeForWrite in class com.gemstone.gemfire.cache.execute.FunctionAdapterpublic void execute(com.gemstone.gemfire.cache.execute.FunctionContext ctx)
execute in interface com.gemstone.gemfire.cache.execute.Functionexecute in class com.gemstone.gemfire.cache.execute.FunctionAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||