com.googlecode.icegem.utils.function
Class ClearRegionFunction

java.lang.Object
  extended by com.gemstone.gemfire.cache.execute.FunctionAdapter
      extended by com.googlecode.icegem.utils.function.ClearRegionFunction
All Implemented Interfaces:
com.gemstone.gemfire.cache.execute.Function, java.io.Serializable

public class ClearRegionFunction
extends com.gemstone.gemfire.cache.execute.FunctionAdapter

Function for clearing regions of different types.

Author:
Andrey Stepanov aka standy
See Also:
for more details., Serialized Form

Constructor Summary
ClearRegionFunction()
           
 
Method Summary
 void execute(com.gemstone.gemfire.cache.execute.FunctionContext functionContext)
           
 java.lang.String getId()
           
 boolean optimizeForWrite()
           
 
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

ClearRegionFunction

public ClearRegionFunction()
Method Detail

execute

public void execute(com.gemstone.gemfire.cache.execute.FunctionContext functionContext)
Specified by:
execute in interface com.gemstone.gemfire.cache.execute.Function
Specified by:
execute in class com.gemstone.gemfire.cache.execute.FunctionAdapter

getId

public java.lang.String getId()
Specified by:
getId in interface com.gemstone.gemfire.cache.execute.Function
Specified by:
getId in class com.gemstone.gemfire.cache.execute.FunctionAdapter

optimizeForWrite

public boolean optimizeForWrite()
Specified by:
optimizeForWrite in interface com.gemstone.gemfire.cache.execute.Function
Overrides:
optimizeForWrite in class com.gemstone.gemfire.cache.execute.FunctionAdapter


Copyright © 2011. All Rights Reserved.