public class RemoteEventBrokerClient extends step.client.AbstractRemoteClient implements EventBrokerClient
| Modifier and Type | Field and Description | 
|---|---|
static String | 
servicePath  | 
| Constructor and Description | 
|---|
RemoteEventBrokerClient()  | 
RemoteEventBrokerClient(step.client.credentials.ControllerCredentials credentials)  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,Boolean> | 
clear()  | 
Map<String,Boolean> | 
clearGroup(String group)  | 
Map<String,Object> | 
clearStats()  | 
step.plugins.events.Event | 
consumeEvent(String id)  | 
step.plugins.events.Event | 
consumeEventByGroupAndName(String group,
                          String name)  | 
Set<String> | 
getDistinctGroupNames()  | 
Map<String,Set<step.plugins.events.Event>> | 
getEventBrokerGroupMap()  | 
Map<String,Set<step.plugins.events.Event>> | 
getEventBrokerGroupMap(int skip,
                      int limit)  | 
Map<String,step.plugins.events.Event> | 
getEventBrokerIdMap()  | 
Map<String,step.plugins.events.Event> | 
getEventBrokerIdMap(int skip,
                   int limit)  | 
String | 
getEventBrokerStatus()
Deprecated.  
 | 
Set<step.plugins.events.Event> | 
getFullGroup(String group)  | 
Map<String,Object> | 
getGlobalStats()  | 
int | 
getGroupSize(String group)  | 
Set<step.plugins.events.Event> | 
getGroupSkipLimit(String group,
                 int skip,
                 int limit)  | 
Map<String,Object> | 
getGroupStats(String group)  | 
step.plugins.events.Event | 
peekEvent(String id)  | 
step.plugins.events.Event | 
peekEventByGroupAndName(String group,
                       String name)  | 
step.plugins.events.Event | 
putEvent(step.plugins.events.Event event)  | 
Map<String,Object> | 
setCircuitBreakerThreshold(long circuitBreakerThreshold)  | 
close, executeRequest, notImplemented, requestBuilder, requestBuilderpublic static String servicePath
public RemoteEventBrokerClient(step.client.credentials.ControllerCredentials credentials)
public RemoteEventBrokerClient()
@Deprecated public String getEventBrokerStatus()
public Map<String,step.plugins.events.Event> getEventBrokerIdMap()
getEventBrokerIdMap in interface EventBrokerClientpublic Map<String,step.plugins.events.Event> getEventBrokerIdMap(int skip, int limit)
getEventBrokerIdMap in interface EventBrokerClientpublic Map<String,Set<step.plugins.events.Event>> getEventBrokerGroupMap()
getEventBrokerGroupMap in interface EventBrokerClientpublic Map<String,Set<step.plugins.events.Event>> getEventBrokerGroupMap(int skip, int limit)
getEventBrokerGroupMap in interface EventBrokerClientpublic step.plugins.events.Event putEvent(step.plugins.events.Event event)
putEvent in interface EventBrokerClientpublic step.plugins.events.Event peekEvent(String id)
peekEvent in interface EventBrokerClientpublic step.plugins.events.Event peekEventByGroupAndName(String group, String name) throws Exception
peekEventByGroupAndName in interface EventBrokerClientExceptionpublic step.plugins.events.Event consumeEvent(String id)
consumeEvent in interface EventBrokerClientpublic step.plugins.events.Event consumeEventByGroupAndName(String group, String name) throws Exception
consumeEventByGroupAndName in interface EventBrokerClientExceptionpublic Map<String,Boolean> clear()
clear in interface EventBrokerClientpublic Map<String,Boolean> clearGroup(String group)
clearGroup in interface EventBrokerClientpublic Map<String,Object> getGlobalStats()
getGlobalStats in interface EventBrokerClientpublic Map<String,Object> getGroupStats(String group)
getGroupStats in interface EventBrokerClientpublic Map<String,Object> clearStats()
clearStats in interface EventBrokerClientpublic Set<step.plugins.events.Event> getGroupSkipLimit(String group, int skip, int limit) throws Exception
getGroupSkipLimit in interface EventBrokerClientExceptionpublic Set<step.plugins.events.Event> getFullGroup(String group)
getFullGroup in interface EventBrokerClientpublic Set<String> getDistinctGroupNames()
getDistinctGroupNames in interface EventBrokerClientpublic int getGroupSize(String group)
getGroupSize in interface EventBrokerClientpublic Map<String,Object> setCircuitBreakerThreshold(long circuitBreakerThreshold)
setCircuitBreakerThreshold in interface EventBrokerClientCopyright © 2020. All rights reserved.