info.magnolia.module.cache
Class DelegateFlushPolicy
java.lang.Object
info.magnolia.module.cache.DelegateFlushPolicy
- All Implemented Interfaces:
- FlushPolicy
public class DelegateFlushPolicy
- extends Object
- implements FlushPolicy
Simple policy that delegates all the requests to any policies added in its policies list.
The policies in the list are invoked in the order in which they were added.
- Version:
- $Id:$
- Author:
- had
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegateFlushPolicy
public DelegateFlushPolicy()
getPolicies
public List<FlushPolicy> getPolicies()
setPolicies
public void setPolicies(List<FlushPolicy> policies)
addPolicy
public void addPolicy(FlushPolicy policy)
start
public void start(Cache cache)
- Specified by:
start
in interface FlushPolicy
stop
public void stop(Cache cache)
- Specified by:
stop
in interface FlushPolicy
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.