Class SimpleBufferedManageableCaptchaService

  • All Implemented Interfaces:
    com.octo.captcha.service.AbstractManageableCaptchaServiceMBean, com.octo.captcha.service.CaptchaService, com.octo.captcha.service.image.ImageCaptchaService, com.octo.captcha.service.ManageableCaptchaService, com.octo.captcha.service.multitype.MultiTypeCaptchaService, com.octo.captcha.service.sound.SoundCaptchaService, com.octo.captcha.service.text.TextCaptchaService

    public class SimpleBufferedManageableCaptchaService
    extends com.octo.captcha.service.multitype.GenericManageableCaptchaService
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleBufferedManageableCaptchaService​(com.octo.captcha.engine.CaptchaEngine engine, com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer container, int minGuarantedStorageDelayInSeconds, int maxCaptchaStoreSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer getContainer()  
      void setContainer​(com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer container)  
      • Methods inherited from class com.octo.captcha.service.multitype.GenericManageableCaptchaService

        getImageChallengeForID, getImageChallengeForID, getSoundChallengeForID, getSoundChallengeForID, getTextChallengeForID, getTextChallengeForID
      • Methods inherited from class com.octo.captcha.service.AbstractManageableCaptchaService

        emptyCaptchaStore, garbageCollectCaptchaStore, getCaptchaEngineClass, getCaptchaStoreMaxSize, getCaptchaStoreSize, getCaptchaStoreSizeBeforeGarbageCollection, getEngine, getMinGuarantedStorageDelayInSeconds, getNumberOfCorrectResponses, getNumberOfGarbageCollectableCaptchas, getNumberOfGarbageCollectedCaptcha, getNumberOfGeneratedCaptchas, getNumberOfUncorrectResponses, setCaptchaEngine, setCaptchaEngineClass, setCaptchaStoreMaxSize, setCaptchaStoreSizeBeforeGarbageCollection, setMinGuarantedStorageDelayInSeconds, validateResponseForID
      • Methods inherited from class com.octo.captcha.service.AbstractCaptchaService

        getChallengeForID, getChallengeForID, getQuestionForID, getQuestionForID
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.octo.captcha.service.CaptchaService

        getChallengeForID, getChallengeForID, getQuestionForID, getQuestionForID, validateResponseForID
    • Constructor Detail

      • SimpleBufferedManageableCaptchaService

        public SimpleBufferedManageableCaptchaService​(com.octo.captcha.engine.CaptchaEngine engine,
                                                      com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer container,
                                                      int minGuarantedStorageDelayInSeconds,
                                                      int maxCaptchaStoreSize)
        Parameters:
        engine - the engine
        container - the container
        minGuarantedStorageDelayInSeconds - the min Guaranted Storage Delay In Seconds
        maxCaptchaStoreSize - the max Captcha Store Size
    • Method Detail

      • getContainer

        public com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer getContainer()
        Returns:
        the container
      • setContainer

        public void setContainer​(com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer container)
        Parameters:
        container - the container