public class GlueHttpCacheEventSender extends Object implements GlueCacheEventSender, org.springframework.beans.factory.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 org.springframework.beans.factory.InitializingBean
Exception
Copyright © 2023–2024 POSCO DX. All rights reserved.