com.googlecode.icegem.utils.function
Class RemoveAllFunction

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

public class RemoveAllFunction
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
RemoveAllFunction()
           
 
Method Summary
 void execute(com.gemstone.gemfire.cache.execute.FunctionContext ctx)
           
 java.lang.String getId()
           
 boolean isHA()
           
 boolean optimizeForWrite()
           
 
Methods inherited from class com.gemstone.gemfire.cache.execute.FunctionAdapter
hasResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveAllFunction

public RemoveAllFunction()
Method Detail

execute

public void execute(com.gemstone.gemfire.cache.execute.FunctionContext ctx)
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

isHA

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


Copyright © 2011. All Rights Reserved.