public class DataEndpointGroup extends Object implements DataEndpointFailureCallback
| Modifier and Type | Class and Description |
|---|---|
static class |
DataEndpointGroup.HAType
HA Type.
|
| Constructor and Description |
|---|
DataEndpointGroup(DataEndpointGroup.HAType haType,
DataEndpointAgent agent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataEndpoint(DataEndpoint dataEndpoint) |
void |
publish(org.wso2.carbon.databridge.commons.Event event) |
void |
shutdown() |
String |
toString() |
void |
tryPublish(org.wso2.carbon.databridge.commons.Event event) |
void |
tryResendEvents(List<org.wso2.carbon.databridge.commons.Event> events,
DataEndpoint dataEndpoint)
Notifies the The failed events, and should try to send the events again successfully.
|
public DataEndpointGroup(DataEndpointGroup.HAType haType, DataEndpointAgent agent)
public void addDataEndpoint(DataEndpoint dataEndpoint)
public void tryPublish(org.wso2.carbon.databridge.commons.Event event)
throws EventQueueFullException
EventQueueFullExceptionpublic void publish(org.wso2.carbon.databridge.commons.Event event)
public void tryResendEvents(List<org.wso2.carbon.databridge.commons.Event> events, DataEndpoint dataEndpoint)
DataEndpointFailureCallbacktryResendEvents in interface DataEndpointFailureCallbackevents - List failed eventspublic void shutdown()
Copyright © 2021 WSO2. All rights reserved.