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 info.magnolia.commands.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(info.magnolia.context.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(info.magnolia.context.Context context)
                throws Exception
Specified by:
execute in class info.magnolia.commands.MgnlCommand
Throws:
Exception


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