com.poscoict.glueframework.cache.remote
Class GlueHttpCacheEventSender
java.lang.Object
com.poscoict.glueframework.cache.remote.GlueHttpCacheEventSender
- All Implemented Interfaces:
- GlueCacheEventSender, org.springframework.beans.factory.InitializingBean
public class GlueHttpCacheEventSender
- extends Object
- implements GlueCacheEventSender, org.springframework.beans.factory.InitializingBean
Cache Event Sender.
bean property ¼³Á¤
- targetUrl : (Çʼö)
- timeout : (¼±ÅÃ)
- requestRetryCount : (¼±ÅÃ)
[sample]
»ç¿ë ¿¹
http://ip:port/contextRoot/servleetName
GlueHttpCacheEventSender
public GlueHttpCacheEventSender()
getTargetUrl
public List<String> getTargetUrl()
- Returns:
- the targetUrl
setTargetUrl
public void setTargetUrl(List<String> targetUrl)
- setter method for DI.
- Parameters:
targetUrl
- the targetUrl to set
getTimeout
public long getTimeout()
- Returns:
- the timeout
setTimeout
public void setTimeout(long timeout)
- setter method for DI.
- Parameters:
timeout
- the timeout to set
getRequestRetryCount
public int getRequestRetryCount()
- Returns:
- the requestRetryCount
setRequestRetryCount
public void setRequestRetryCount(int requestRetryCount)
- setter method for DI.
- Parameters:
requestRetryCount
- the requestRetryCount to set
sendEvent
public String sendEvent(GlueCacheEvent event)
- Specified by:
sendEvent
in interface GlueCacheEventSender
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.