com.poscoict.glueframework.cache.remote
Class GlueHttpCacheEventSender
java.lang.Object
com.poscoict.glueframework.cache.remote.GlueHttpCacheEventSender
- All Implemented Interfaces:
- GlueCacheEventSender, InitializingBean
public class GlueHttpCacheEventSender
- extends Object
- implements GlueCacheEventSender, InitializingBean
CacheEventSender ±¸Çöü.
Bean Property
- targetUrl : (Çʼö)
- timeout : (¼±ÅÃ) 'http.socket.timeout'
- requestRetryCount : (¼±ÅÃ) 'http.method.retry-handler'
¿¹Á¦
»ç¿ë ¿¹# 1
http://ip:port/contextRoot/servleetName
»ç¿ë ¿¹# 2
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 InitializingBean
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013–2016 POSCO ICT. All rights reserved.