info.magnolia.module.cache.commands
Class FlushNamedCacheCommand

java.lang.Object
  extended by info.magnolia.commands.MgnlCommand
      extended by info.magnolia.module.cache.commands.FlushNamedCacheCommand
All Implemented Interfaces:
org.apache.commons.chain.Command

public class FlushNamedCacheCommand
extends MgnlCommand

Command to flush a cache by name.

Author:
Bert Leunis

Field Summary
static java.lang.String CACHE_NAME
           
 
Fields inherited from class info.magnolia.commands.MgnlCommand
log
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
FlushNamedCacheCommand()
           
 
Method Summary
 boolean execute(Context context)
           
 
Methods inherited from class info.magnolia.commands.MgnlCommand
execute, isClone, isEnabled, release, setClone, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_NAME

public static final java.lang.String CACHE_NAME
See Also:
Constant Field Values
Constructor Detail

FlushNamedCacheCommand

public FlushNamedCacheCommand()
Method Detail

execute

public boolean execute(Context context)
                throws java.lang.Exception
Specified by:
execute in class MgnlCommand
Throws:
java.lang.Exception


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.