Interface EventBrokerClient

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Boolean> clear()  
      java.util.Map<java.lang.String,​java.lang.Boolean> clearGroup​(java.lang.String group)  
      java.util.Map<java.lang.String,​java.lang.Object> clearStats()  
      step.plugins.events.Event consumeEvent​(java.lang.String id)  
      step.plugins.events.Event consumeEventByGroupAndName​(java.lang.String group, java.lang.String name)  
      java.util.Set<java.lang.String> getDistinctGroupNames()  
      java.util.Map<java.lang.String,​java.util.Set<step.plugins.events.Event>> getEventBrokerGroupMap()  
      java.util.Map<java.lang.String,​java.util.Set<step.plugins.events.Event>> getEventBrokerGroupMap​(int skip, int limit)  
      java.util.Map<java.lang.String,​step.plugins.events.Event> getEventBrokerIdMap()  
      java.util.Map<java.lang.String,​step.plugins.events.Event> getEventBrokerIdMap​(int skip, int limit)  
      java.util.Set<step.plugins.events.Event> getFullGroup​(java.lang.String group)  
      java.util.Map<java.lang.String,​java.lang.Object> getGlobalStats()  
      int getGroupSize​(java.lang.String group)  
      java.util.Set<step.plugins.events.Event> getGroupSkipLimit​(java.lang.String group, int skip, int limit)  
      java.util.Map<java.lang.String,​java.lang.Object> getGroupStats​(java.lang.String group)  
      step.plugins.events.Event peekEvent​(java.lang.String id)  
      step.plugins.events.Event peekEventByGroupAndName​(java.lang.String group, java.lang.String name)  
      step.plugins.events.Event putEvent​(step.plugins.events.Event event)  
      java.util.Map<java.lang.String,​java.lang.Object> setCircuitBreakerThreshold​(long circuitBreakerThreshold)  
      • Methods inherited from interface java.io.Closeable

        close
    • Method Detail

      • getEventBrokerIdMap

        java.util.Map<java.lang.String,​step.plugins.events.Event> getEventBrokerIdMap()
      • getEventBrokerIdMap

        java.util.Map<java.lang.String,​step.plugins.events.Event> getEventBrokerIdMap​(int skip,
                                                                                            int limit)
      • getEventBrokerGroupMap

        java.util.Map<java.lang.String,​java.util.Set<step.plugins.events.Event>> getEventBrokerGroupMap()
      • getEventBrokerGroupMap

        java.util.Map<java.lang.String,​java.util.Set<step.plugins.events.Event>> getEventBrokerGroupMap​(int skip,
                                                                                                              int limit)
      • putEvent

        step.plugins.events.Event putEvent​(step.plugins.events.Event event)
      • peekEvent

        step.plugins.events.Event peekEvent​(java.lang.String id)
      • peekEventByGroupAndName

        step.plugins.events.Event peekEventByGroupAndName​(java.lang.String group,
                                                          java.lang.String name)
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • consumeEvent

        step.plugins.events.Event consumeEvent​(java.lang.String id)
      • consumeEventByGroupAndName

        step.plugins.events.Event consumeEventByGroupAndName​(java.lang.String group,
                                                             java.lang.String name)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • clear

        java.util.Map<java.lang.String,​java.lang.Boolean> clear()
      • clearGroup

        java.util.Map<java.lang.String,​java.lang.Boolean> clearGroup​(java.lang.String group)
      • getGlobalStats

        java.util.Map<java.lang.String,​java.lang.Object> getGlobalStats()
      • getGroupStats

        java.util.Map<java.lang.String,​java.lang.Object> getGroupStats​(java.lang.String group)
      • clearStats

        java.util.Map<java.lang.String,​java.lang.Object> clearStats()
      • getGroupSkipLimit

        java.util.Set<step.plugins.events.Event> getGroupSkipLimit​(java.lang.String group,
                                                                   int skip,
                                                                   int limit)
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getFullGroup

        java.util.Set<step.plugins.events.Event> getFullGroup​(java.lang.String group)
      • getDistinctGroupNames

        java.util.Set<java.lang.String> getDistinctGroupNames()
      • getGroupSize

        int getGroupSize​(java.lang.String group)
      • setCircuitBreakerThreshold

        java.util.Map<java.lang.String,​java.lang.Object> setCircuitBreakerThreshold​(long circuitBreakerThreshold)