public class GlueHttpCacheEventSender extends Object implements GlueCacheEventSender, InitializingBean
Bean Property - targetUrl : (Çʼö) - timeout : (¼±ÅÃ) 'http.socket.timeout' - requestRetryCount : (¼±ÅÃ) 'http.method.retry-handler' ¿¹Á¦»ç¿ë ¿¹# 1 »ç¿ë ¿¹# 2
http://ip:port/contextRoot/servleetName
http://ip:port/contextRoot/servleetName
FAILURE, NOT_EXIST, SUCCESS
Constructor and Description |
---|
GlueHttpCacheEventSender() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
int |
getRequestRetryCount() |
List<String> |
getTargetUrl() |
long |
getTimeout() |
String |
sendEvent(GlueCacheEvent event) |
void |
setRequestRetryCount(int requestRetryCount)
setter method for DI.
|
void |
setTargetUrl(List<String> targetUrl)
setter method for DI.
|
void |
setTimeout(long timeout)
setter method for DI.
|
String |
toString() |
public void setTargetUrl(List<String> targetUrl)
targetUrl
- the targetUrl to setpublic long getTimeout()
public void setTimeout(long timeout)
timeout
- the timeout to setpublic int getRequestRetryCount()
public void setRequestRetryCount(int requestRetryCount)
requestRetryCount
- the requestRetryCount to setpublic String sendEvent(GlueCacheEvent event)
sendEvent
in interface GlueCacheEventSender
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
Copyright © 2013–2016 POSCO ICT. All rights reserved.