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 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 String CACHE_NAME
See Also:
Constant Field Values
Constructor Detail

FlushNamedCacheCommand

public FlushNamedCacheCommand()
Method Detail

execute

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


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.