
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 GlueCacheEventSenderpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionCopyright © 2013–2021 POSCO ICT. All rights reserved.