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, requestBuilder
public 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 EventBrokerClient
public Map<String,step.plugins.events.Event> getEventBrokerIdMap(int skip, int limit)
getEventBrokerIdMap
in interface EventBrokerClient
public Map<String,Set<step.plugins.events.Event>> getEventBrokerGroupMap()
getEventBrokerGroupMap
in interface EventBrokerClient
public Map<String,Set<step.plugins.events.Event>> getEventBrokerGroupMap(int skip, int limit)
getEventBrokerGroupMap
in interface EventBrokerClient
public step.plugins.events.Event putEvent(step.plugins.events.Event event)
putEvent
in interface EventBrokerClient
public step.plugins.events.Event peekEvent(String id)
peekEvent
in interface EventBrokerClient
public step.plugins.events.Event peekEventByGroupAndName(String group, String name) throws Exception
peekEventByGroupAndName
in interface EventBrokerClient
Exception
public step.plugins.events.Event consumeEvent(String id)
consumeEvent
in interface EventBrokerClient
public step.plugins.events.Event consumeEventByGroupAndName(String group, String name) throws Exception
consumeEventByGroupAndName
in interface EventBrokerClient
Exception
public Map<String,Boolean> clear()
clear
in interface EventBrokerClient
public Map<String,Boolean> clearGroup(String group)
clearGroup
in interface EventBrokerClient
public Map<String,Object> getGlobalStats()
getGlobalStats
in interface EventBrokerClient
public Map<String,Object> getGroupStats(String group)
getGroupStats
in interface EventBrokerClient
public Map<String,Object> clearStats()
clearStats
in interface EventBrokerClient
public Set<step.plugins.events.Event> getGroupSkipLimit(String group, int skip, int limit) throws Exception
getGroupSkipLimit
in interface EventBrokerClient
Exception
public Set<step.plugins.events.Event> getFullGroup(String group)
getFullGroup
in interface EventBrokerClient
public Set<String> getDistinctGroupNames()
getDistinctGroupNames
in interface EventBrokerClient
public int getGroupSize(String group)
getGroupSize
in interface EventBrokerClient
public Map<String,Object> setCircuitBreakerThreshold(long circuitBreakerThreshold)
setCircuitBreakerThreshold
in interface EventBrokerClient
Copyright © 2020. All rights reserved.