public class ConfluenceCachingCaptchaStore extends Object implements com.octo.captcha.service.captchastore.CaptchaStore
| Constructor and Description |
|---|
ConfluenceCachingCaptchaStore(com.atlassian.vcache.VCacheFactory cacheFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanAndShutdown() |
void |
empty() |
com.octo.captcha.Captcha |
getCaptcha(String id) |
Collection |
getKeys() |
Locale |
getLocale(String id) |
int |
getSize() |
boolean |
hasCaptcha(String id) |
void |
initAndStart() |
boolean |
removeCaptcha(String id) |
void |
storeCaptcha(String id,
com.octo.captcha.Captcha captcha) |
void |
storeCaptcha(String id,
com.octo.captcha.Captcha captcha,
Locale locale) |
public ConfluenceCachingCaptchaStore(com.atlassian.vcache.VCacheFactory cacheFactory)
public boolean hasCaptcha(String id)
hasCaptcha in interface com.octo.captcha.service.captchastore.CaptchaStorepublic void storeCaptcha(String id, com.octo.captcha.Captcha captcha) throws com.octo.captcha.service.CaptchaServiceException
storeCaptcha in interface com.octo.captcha.service.captchastore.CaptchaStorecom.octo.captcha.service.CaptchaServiceExceptionpublic void storeCaptcha(String id, com.octo.captcha.Captcha captcha, Locale locale) throws com.octo.captcha.service.CaptchaServiceException
storeCaptcha in interface com.octo.captcha.service.captchastore.CaptchaStorecom.octo.captcha.service.CaptchaServiceExceptionpublic com.octo.captcha.Captcha getCaptcha(String id) throws com.octo.captcha.service.CaptchaServiceException
getCaptcha in interface com.octo.captcha.service.captchastore.CaptchaStorecom.octo.captcha.service.CaptchaServiceExceptionpublic Locale getLocale(String id) throws com.octo.captcha.service.CaptchaServiceException
getLocale in interface com.octo.captcha.service.captchastore.CaptchaStorecom.octo.captcha.service.CaptchaServiceExceptionpublic boolean removeCaptcha(String id)
removeCaptcha in interface com.octo.captcha.service.captchastore.CaptchaStorepublic int getSize()
getSize in interface com.octo.captcha.service.captchastore.CaptchaStorepublic Collection getKeys()
getKeys in interface com.octo.captcha.service.captchastore.CaptchaStorepublic void empty()
empty in interface com.octo.captcha.service.captchastore.CaptchaStorepublic void initAndStart()
initAndStart in interface com.octo.captcha.service.captchastore.CaptchaStorepublic void cleanAndShutdown()
cleanAndShutdown in interface com.octo.captcha.service.captchastore.CaptchaStoreCopyright © 2003–2019 Atlassian. All rights reserved.