public class Store2CachePollingScheduler extends Object implements Serializable
Constructor and Description |
---|
Store2CachePollingScheduler(FeatureStore sf,
PropertyStore sp,
FF4JCacheManager cp)
Parameterized constructor.
|
Store2CachePollingScheduler(FF4jCacheProxy fcp)
Parameterized constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getInitialDelay()
Getter accessor for attribute 'initialDelay'.
|
long |
getPollingDelay()
Getter accessor for attribute 'pollingDelay'.
|
void |
setInitialDelay(long initialDelay)
Setter accessor for attribute 'initialDelay'.
|
void |
setPollingDelay(long pollingDelay)
Setter accessor for attribute 'pollingDelay'.
|
void |
start()
Start polling.
|
void |
start(long delay)
Start polling with a polling
|
void |
stop()
Stop Polling.
|
public Store2CachePollingScheduler(FeatureStore sf, PropertyStore sp, FF4JCacheManager cp)
sf
- source feature storesp
- source property storecp
- current cache managerpublic Store2CachePollingScheduler(FF4jCacheProxy fcp)
fcp
- cache proxypublic void start(long delay)
public void start()
public void stop()
public long getPollingDelay()
public void setPollingDelay(long pollingDelay)
pollingDelay
- new value for 'pollingDelay 'public long getInitialDelay()
public void setInitialDelay(long initialDelay)
initialDelay
- new value for 'initialDelay 'Copyright © 2013–2020 FF4J. All rights reserved.