|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.octo.captcha.engine.bufferedengine.BufferedEngineContainer com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer
public class SimpleBufferedEngineContainer
Simple implmentation of the BufferedEngineContainer with ClockDaemon
Nested Class Summary | |
---|---|
class |
SimpleBufferedEngineContainer.SimpleDiskFeeder
|
class |
SimpleBufferedEngineContainer.SimpleDiskToMemory
|
Field Summary |
---|
Fields inherited from class com.octo.captcha.engine.bufferedengine.BufferedEngineContainer |
---|
config, engine, persistentBuffer, persistentFeedings, persistentMemoryHits, persistentToVolatileSwaps, volatileBuffer, volatileMemoryHits |
Constructor Summary | |
---|---|
SimpleBufferedEngineContainer(CaptchaEngine engine,
CaptchaBuffer memoryBuffer,
CaptchaBuffer diskBuffer,
ContainerConfiguration containerConfiguration,
int feedPeriod,
int swapPeriod)
|
Method Summary | |
---|---|
protected void |
startDaemon()
|
protected void |
startScheduler()
|
protected void |
stopDaemon()
|
Methods inherited from class com.octo.captcha.engine.bufferedengine.BufferedEngineContainer |
---|
closeBuffers, feedPersistentBuffer, getConfig, getFactories, getNextCaptcha, getNextCaptcha, getPersistentBuffer, getPersistentFeedings, getPersistentMemoryHits, getPersistentToVolatileSwaps, getVolatileBuffer, getVolatileMemoryHits, setFactories, swapCaptchasFromPersistentToVolatileMemory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleBufferedEngineContainer(CaptchaEngine engine, CaptchaBuffer memoryBuffer, CaptchaBuffer diskBuffer, ContainerConfiguration containerConfiguration, int feedPeriod, int swapPeriod)
Method Detail |
---|
protected void startScheduler()
com.octo.captcha.engine.bufferedengine.BufferedEngineContainer#startScheduler()
protected void stopDaemon()
protected void startDaemon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |