A C D E F G H I L N P R S T U V 

A

AbstractEventBusStats - Class in com.netflix.eventbus.impl
 
AbstractEventBusStats(long) - Constructor for class com.netflix.eventbus.impl.AbstractEventBusStats
 
AbstractEventBusStats.LatencyStats - Class in com.netflix.eventbus.impl
 
AbstractEventBusStats.LatencyStats() - Constructor for class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
addFilterForEvent(EventFilter, Class<?>) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
addFilterForEvent(EventFilter, Class<?>) - Method in interface com.netflix.eventbus.spi.EventBus
Adds a publisher level filter for the passed event type.
addFilterForSubscriber(EventFilter, SubscriberInfo) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
addFilterForSubscriber(EventFilter, SubscriberInfo) - Method in interface com.netflix.eventbus.spi.EventBus
Adds the passed filter for the passed subscriber method.
addLatency(double) - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
ALLOW_ALL_EVENTS - Static variable in class com.netflix.eventbus.spi.SyncSubscribersGatekeeper
 
ALLOW_SYNC_SUBSCRIBERS - Static variable in class com.netflix.eventbus.spi.SyncSubscribersGatekeeper
 
AlwaysFalseEventFilter - Class in com.netflix.eventbus.filter
 
AlwaysTrueEventFilter - Class in com.netflix.eventbus.filter
 
apply(Object) - Method in class com.netflix.eventbus.filter.AlwaysFalseEventFilter
 
apply(Object) - Method in class com.netflix.eventbus.filter.AlwaysTrueEventFilter
 
apply(Object) - Method in class com.netflix.eventbus.filter.lang.infix.InfixEventFilter
 
applyFilters(Object, Set<EventFilter>, StatsTimer, String, Logger) - Static method in class com.netflix.eventbus.utils.EventBusUtils
Utility method to apply filters for an event, this can be used both by publisher & subscriber code.

C

CatchAllSubscriber - Class in com.netflix.eventbus.spi
A special subscriber that receives all events published to EventBus.
CatchAllSubscriber() - Constructor for class com.netflix.eventbus.spi.CatchAllSubscriber
 
clearFiltersForEvent(Class<?>) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
clearFiltersForEvent(Class<?>) - Method in interface com.netflix.eventbus.spi.EventBus
Removes all the filters for the passed event type.
clearFiltersForSubscriber(SubscriberInfo) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
clearFiltersForSubscriber(SubscriberInfo) - Method in interface com.netflix.eventbus.spi.EventBus
Removes all filters for the passed subscriber method.
collectionDurationInMillis - Variable in class com.netflix.eventbus.impl.AbstractEventBusStats
 
com.netflix.eventbus.filter - package com.netflix.eventbus.filter
 
com.netflix.eventbus.filter.lang - package com.netflix.eventbus.filter.lang
This package defines the various filter language available to create the filters for EventBus.
com.netflix.eventbus.filter.lang.infix - package com.netflix.eventbus.filter.lang.infix
An infix notation based language for event filters.
com.netflix.eventbus.impl - package com.netflix.eventbus.impl
 
com.netflix.eventbus.spi - package com.netflix.eventbus.spi
 
com.netflix.eventbus.utils - package com.netflix.eventbus.utils
 
compileInfixNotation(String) - Static method in class com.netflix.eventbus.filter.EventFilterCompiler
Compiles a filter expressed in infix notation to an EventFilter instance.
compute() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
computeTimeIntervalStats() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats
 
CONSUMER_QUEUE_FULL_RETRY_MAX_DEFAULT - Static variable in interface com.netflix.eventbus.spi.EventBus
 
CONSUMER_QUEUE_FULL_RETRY_MAX_PROP_NAME - Static variable in interface com.netflix.eventbus.spi.EventBus
 
CONSUMER_QUEUE_SIZE_DEFAULT - Static variable in interface com.netflix.eventbus.spi.EventBus
 
CONSUMER_QUEUE_SIZE_DEFAULT_PROP_NAME - Static variable in interface com.netflix.eventbus.spi.EventBus
 
convert(T) - Method in interface com.netflix.eventbus.filter.lang.FilterLanguageSupport
Converts the passed filter object to a valid EventFilter.
convert(String) - Method in class com.netflix.eventbus.filter.lang.infix.InfixFilterLanguageSupport
 
createEvent(Set<Class<?>>) - Method in interface com.netflix.eventbus.spi.EventCreator
A callback when the event bus determines that there is atleast one listener for any of the passed event types to the corresponding EventBus.publishIffNotDead(EventCreator, Class[]) call.

D

disable() - Method in class com.netflix.eventbus.spi.CatchAllSubscriber
 
disableCatchAllSubscriber() - Method in class com.netflix.eventbus.impl.EventBusImpl
 
disableCatchAllSubscriber() - Method in interface com.netflix.eventbus.spi.EventBus
Disables the CatchAllSubscriber for this eventbus.
DynamicSubscriber - Interface in com.netflix.eventbus.spi
Eventbus subscribers, by design, are statically tied to a particular type of object i.e.

E

EMPTY_WHITELIST - Static variable in class com.netflix.eventbus.spi.SyncSubscribersGatekeeper
 
enable(BlockingQueue) - Method in class com.netflix.eventbus.spi.CatchAllSubscriber
 
enableCatchAllSubscriber(BlockingQueue) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
enableCatchAllSubscriber(BlockingQueue<?>) - Method in interface com.netflix.eventbus.spi.EventBus
Enables the CatchAllSubscriber for this eventbus with the sink for the subscriber as the passed BlockingQueue instance.
equals(Object) - Method in class com.netflix.eventbus.filter.AlwaysFalseEventFilter
 
equals(Object) - Method in class com.netflix.eventbus.filter.AlwaysTrueEventFilter
 
equals(Object) - Method in class com.netflix.eventbus.filter.lang.infix.InfixEventFilter
 
EventBatch - Interface in com.netflix.eventbus.impl
An interface for all event batches generated by eventbus for various batching strategies.
EventBus - Interface in com.netflix.eventbus.spi
An event bus for in-process publish-subscribe communication between components.
EventBusImpl - Class in com.netflix.eventbus.impl
An implementation of EventBus.
EventBusImpl() - Constructor for class com.netflix.eventbus.impl.EventBusImpl
 
EventBusUtils - Class in com.netflix.eventbus.utils
General utility methods for EventBus
EventBusUtils() - Constructor for class com.netflix.eventbus.utils.EventBusUtils
 
EventConsumerStats - Class in com.netflix.eventbus.impl
 
EventConsumerStats(String, long) - Constructor for class com.netflix.eventbus.impl.EventConsumerStats
 
EventCreator - Interface in com.netflix.eventbus.spi
A contract for delayed creation of event(s) objects for conditional event publishing.
EventFilter - Interface in com.netflix.eventbus.spi
Top level filter used by the event bus.
EventFilterCompiler - Class in com.netflix.eventbus.filter
A compiler to compile the event filter from a language specified in com.netflix.eventbus.filter.lang to an EventFilter for consumption by EventBus
EventFilterCompiler() - Constructor for class com.netflix.eventbus.filter.EventFilterCompiler
 

F

FilterLanguage - Enum in com.netflix.eventbus.spi
Enumeration of various out-of-the-box filter languages supported by the event bus.
FilterLanguageSupport<T> - Interface in com.netflix.eventbus.filter.lang
General contract for any filter language which relates to a methodology of converting a language expression to a valid EventFilter instance consumable by EventBus

G

getAllRegisteredEventTypes() - Method in class com.netflix.eventbus.impl.EventBusImpl
 
getAllRegisteredEventTypes() - Method in interface com.netflix.eventbus.spi.EventBus
Returns all the event types which have atleast a subscriber or a filter defined in this event bus.
getAllSubscribers() - Method in class com.netflix.eventbus.impl.EventBusImpl
 
getAllSubscribers() - Method in interface com.netflix.eventbus.spi.EventBus
Returns a set of subscribers that are registered with this event bus.
getAllSubscribersForAnEvent(Class<?>) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
getAllSubscribersForAnEvent(Class<?>) - Method in interface com.netflix.eventbus.spi.EventBus
Returns a set of subscribers for that passed event type that are registered with this event bus.
getBatchAge() - Method in interface com.netflix.eventbus.spi.SubscriberConfigProvider.SubscriberConfig
 
getBatchingStrategy() - Method in interface com.netflix.eventbus.spi.SubscriberConfigProvider.SubscriberConfig
 
getBatchSize() - Method in interface com.netflix.eventbus.spi.SubscriberConfigProvider.SubscriberConfig
 
getComputedStats() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
getConfigForName(String) - Method in interface com.netflix.eventbus.spi.SubscriberConfigProvider
Returns the configuration for the passed subscriber name.
getEventType() - Method in interface com.netflix.eventbus.spi.DynamicSubscriber
Returns the event type i.e.
getFilterForASubscriber(SubscriberInfo) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
getFilterForASubscriber(SubscriberInfo) - Method in interface com.netflix.eventbus.spi.EventBus
The set of event filters attached to the passed subscriber.
getFilterLanguage() - Method in interface com.netflix.eventbus.spi.SerializableEventFilter
The language in which this filter is expressed.
getFiltersForAnEvent(Class<?>) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
getFiltersForAnEvent(Class<?>) - Method in interface com.netflix.eventbus.spi.EventBus
The set of event filters attached to the passed event type.
getInterestedEventType(Object, Method) - Static method in class com.netflix.eventbus.utils.EventBusUtils
Returns the event class the passed subscriber is interested in.
getLanguage() - Method in class com.netflix.eventbus.filter.AlwaysFalseEventFilter
 
getLanguage() - Method in class com.netflix.eventbus.filter.AlwaysTrueEventFilter
 
getLanguage() - Method in class com.netflix.eventbus.filter.lang.infix.InfixEventFilter
 
getLanguage() - Method in interface com.netflix.eventbus.spi.EventFilter
 
getMax() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
getMean() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
getMedian() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
getOffendingMethods() - Method in exception com.netflix.eventbus.spi.InvalidSubscriberException
 
getPercentile_90() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
getPercentile_99() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
getPercentile_99_5() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
getQueueSize() - Method in interface com.netflix.eventbus.spi.SubscriberConfigProvider.SubscriberConfig
 
getQueueSize(SubscriberConfigProvider.SubscriberConfig) - Static method in class com.netflix.eventbus.utils.EventBusUtils
Returns an appropriate consumer queue size for the passed subscribe annotation.
getSampleSize() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
getStddev() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats.LatencyStats
 
getSubscriberClass() - Method in exception com.netflix.eventbus.spi.InvalidSubscriberException
 
getSubscriberConfig(Method, Object) - Static method in class com.netflix.eventbus.utils.EventBusUtils
Returns configuration for the passed subscriber method.
getSubscriberConfig(SubscriberInfo) - Static method in class com.netflix.eventbus.utils.EventBusUtils
getSubscriberInstance() - Method in class com.netflix.eventbus.spi.SubscriberInfo
Returns the instance of the class that this subscriber method belongs.
getSubscriberMethod() - Method in class com.netflix.eventbus.spi.SubscriberInfo
Returns the method in the subscriber class that is subscribing to a particular event.

H

hashCode() - Method in class com.netflix.eventbus.filter.AlwaysFalseEventFilter
 
hashCode() - Method in class com.netflix.eventbus.filter.AlwaysTrueEventFilter
 
hashCode() - Method in class com.netflix.eventbus.filter.lang.infix.InfixEventFilter
 

I

INFIX_LANGUAGE_NAME - Static variable in class com.netflix.eventbus.filter.lang.infix.InfixEventFilter
 
InfixEventFilter - Class in com.netflix.eventbus.filter.lang.infix
 
InfixEventFilter(Predicate<Object>, String) - Constructor for class com.netflix.eventbus.filter.lang.infix.InfixEventFilter
 
InfixEventFilter(Predicate<Object>) - Constructor for class com.netflix.eventbus.filter.lang.infix.InfixEventFilter
 
InfixFilterLanguageSupport - Class in com.netflix.eventbus.filter.lang.infix
 
InfixFilterLanguageSupport() - Constructor for class com.netflix.eventbus.filter.lang.infix.InfixFilterLanguageSupport
 
INSTANCE - Static variable in class com.netflix.eventbus.filter.AlwaysFalseEventFilter
 
INSTANCE - Static variable in class com.netflix.eventbus.filter.AlwaysTrueEventFilter
 
InvalidFilterException - Exception in com.netflix.eventbus.filter.lang
A generic exception representing an invalid filter expression.
InvalidFilterException(String, Throwable, Object) - Constructor for exception com.netflix.eventbus.filter.lang.InvalidFilterException
 
InvalidFilterException(Throwable, Object) - Constructor for exception com.netflix.eventbus.filter.lang.InvalidFilterException
 
InvalidSubscriberException - Exception in com.netflix.eventbus.spi
Thrown if the subscriber registered with the EventBus is invalid.
InvalidSubscriberException(Class<?>, Map<Method, String>) - Constructor for exception com.netflix.eventbus.spi.InvalidSubscriberException
 
isAnEventBatch(Object) - Static method in class com.netflix.eventbus.utils.EventBusUtils
Deduce whether the passed event is an event batch.
isEnabled() - Method in class com.netflix.eventbus.spi.CatchAllSubscriber
 
isSyncSubscriber(SubscriberConfigProvider.SubscriberConfig, Class, Class) - Static method in class com.netflix.eventbus.spi.SyncSubscribersGatekeeper
Deduce whether the subscriber favors synchronous event consumption.

L

LOGGER - Static variable in class com.netflix.eventbus.impl.AbstractEventBusStats
 

N

newStatsTimer(String, long) - Static method in class com.netflix.eventbus.utils.EventBusUtils
 
NO_NAME - Static variable in annotation type com.netflix.eventbus.spi.Subscribe
 

P

publish(Object) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
publish(Object) - Method in interface com.netflix.eventbus.spi.EventBus
Publishes the passed event object.
publishIffNotDead(EventCreator, Class<?>...) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
publishIffNotDead(EventCreator, Class<?>...) - Method in interface com.netflix.eventbus.spi.EventBus
Publishes events iff there is atleast one listener for any of the passed event types.

R

receive(Object) - Method in class com.netflix.eventbus.spi.CatchAllSubscriber
 
registerMonitors() - Method in class com.netflix.eventbus.impl.AbstractEventBusStats
 
registerSubscriber(EventFilter, Object) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
registerSubscriber(Object) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
registerSubscriber(EventFilter, Object) - Method in interface com.netflix.eventbus.spi.EventBus
Registers a subscriber which will be invoked iff the filter passes for the event to be published.
registerSubscriber(Object) - Method in interface com.netflix.eventbus.spi.EventBus
Registers a subscriber without any filters.
removeFiltersForEvent(Class<?>, EventFilter...) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
removeFiltersForEvent(Class<?>, EventFilter...) - Method in interface com.netflix.eventbus.spi.EventBus
Removes the passed filters for the passed event type.
removeFiltersForSubscriber(SubscriberInfo, EventFilter...) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
removeFiltersForSubscriber(SubscriberInfo, EventFilter...) - Method in interface com.netflix.eventbus.spi.EventBus
Removes the passed filters for the passed subscriber.

S

SerializableEventFilter - Interface in com.netflix.eventbus.spi
An optional feature for a EventFilter which indicates that the event filter can be converted back and forth from a string.
serialize() - Method in class com.netflix.eventbus.filter.AlwaysFalseEventFilter
 
serialize() - Method in class com.netflix.eventbus.filter.AlwaysTrueEventFilter
 
serialize() - Method in class com.netflix.eventbus.filter.lang.infix.InfixEventFilter
 
serialize() - Method in interface com.netflix.eventbus.spi.EventFilter
 
serialize() - Method in interface com.netflix.eventbus.spi.SerializableEventFilter
Serializes this filter into the filter string in the language specified by SerializableEventFilter.getFilterLanguage().
shutdown() - Method in class com.netflix.eventbus.impl.EventBusImpl
 
statsSweeper - Static variable in class com.netflix.eventbus.impl.AbstractEventBusStats
 
Subscribe - Annotation Type in com.netflix.eventbus.spi
Consumers for EventBus must annotate their consumer methods with this annotation.
Subscribe.BatchingStrategy - Enum in com.netflix.eventbus.spi
Batching strategy for event batches.
SUBSCRIBER_QUEUE_SIZE - Static variable in class com.netflix.eventbus.spi.CatchAllSubscriber
 
SubscriberConfigProvider - Interface in com.netflix.eventbus.spi
A contract to handle dynamic subscriber configuration.
SubscriberConfigProvider.SubscriberConfig - Interface in com.netflix.eventbus.spi
Configuration for a subscriber.
SubscriberInfo - Class in com.netflix.eventbus.spi
Metadata about a subscriber.
SubscriberInfo(Method, Object) - Constructor for class com.netflix.eventbus.spi.SubscriberInfo
 
SYNC_SUBSCRIBERS_WHITELIST_JSON - Static variable in class com.netflix.eventbus.spi.SyncSubscribersGatekeeper
Property to define a whitelist of subscribers which are allowed to be synchronous.
syncIfAllowed() - Method in interface com.netflix.eventbus.spi.SubscriberConfigProvider.SubscriberConfig
 
SyncSubscribersGatekeeper - Class in com.netflix.eventbus.spi
A gatekeeper to allow synchronous subscribers in EventBusImpl.
SyncSubscribersGatekeeper() - Constructor for class com.netflix.eventbus.spi.SyncSubscribersGatekeeper
 

T

toString() - Method in class com.netflix.eventbus.filter.AlwaysFalseEventFilter
 
toString() - Method in class com.netflix.eventbus.filter.AlwaysTrueEventFilter
 
toString() - Method in class com.netflix.eventbus.filter.lang.infix.InfixEventFilter
 

U

unregisterSubscriber(Class<?>) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
unregisterSubscriber(Object) - Method in class com.netflix.eventbus.impl.EventBusImpl
 
unregisterSubscriber(Class<?>) - Method in interface com.netflix.eventbus.spi.EventBus
Removes the subscriber class (all of its subscriber methods) from the event bus.
unregisterSubscriber(Object) - Method in interface com.netflix.eventbus.spi.EventBus
Removes the subscriber instance (all of its subscriber methods) from the event bus.

V

valueOf(String) - Static method in enum com.netflix.eventbus.spi.FilterLanguage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.eventbus.spi.Subscribe.BatchingStrategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.netflix.eventbus.spi.FilterLanguage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.eventbus.spi.Subscribe.BatchingStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I L N P R S T U V