Skip navigation links
A B C D E F G H I J K M O P R S T V W 

A

AbstractEventSource - Class in de.otto.synapse.eventsource
 
AbstractEventSource(String, ApplicationEventPublisher, ObjectMapper) - Constructor for class de.otto.synapse.eventsource.AbstractEventSource
 
accept(Message<T>) - Method in class de.otto.synapse.consumer.DefaultMessageConsumer
 
accept(Message<String>) - Method in class de.otto.synapse.consumer.DispatchingMessageConsumer
Accepts a message with JSON String payload, dispatches this method to the different registered consumers if their MessageConsumer.keyPattern() matches, and translates the JSON payload into the expected MessageConsumer.payloadType() of the receiving MessageConsumer.
accept(Message<T>) - Method in class de.otto.synapse.consumer.MethodInvokingMessageConsumer
 
add(MessageConsumer<?>) - Method in class de.otto.synapse.consumer.DispatchingMessageConsumer
 

B

beanNameForStream(String) - Static method in class de.otto.synapse.annotation.BeanNameHelper
 
BeanNameHelper - Class in de.otto.synapse.annotation
 
BeanNameHelper() - Constructor for class de.otto.synapse.annotation.BeanNameHelper
 
build() - Method in class de.otto.synapse.consumer.EventSourceNotification.Builder
 
build() - Method in class de.otto.synapse.state.ChronicleMapStateRepository.Builder
 
builder() - Static method in class de.otto.synapse.consumer.EventSourceNotification
 
builder(EventSourceNotification) - Static method in class de.otto.synapse.consumer.EventSourceNotification
 
buildEventSource(String, String) - Method in interface de.otto.synapse.eventsource.EventSourceBuilder
Should build an event source for a given stream name.
ByteBufferMessage - Class in de.otto.synapse.message
A Message is an atomic packet of data that can be transmitted on a channel.
byteBufferMessage(String, ByteBuffer) - Static method in class de.otto.synapse.message.ByteBufferMessage
 
byteBufferMessage(String, Header, ByteBuffer) - Static method in class de.otto.synapse.message.ByteBufferMessage
 
byteBufferMessage(String, String) - Static method in class de.otto.synapse.message.ByteBufferMessage
 
byteBufferMessage(String, Header, String) - Static method in class de.otto.synapse.message.ByteBufferMessage
 

C

ChannelPosition - Class in de.otto.synapse.channel
 
ChannelPosition(Map<String, String>) - Constructor for class de.otto.synapse.channel.ChannelPosition
 
ChannelResponse - Class in de.otto.synapse.channel
 
ChronicleMapBytesMarshaller<V> - Class in de.otto.synapse.state
 
ChronicleMapBytesMarshaller(ObjectMapper, Class<V>) - Constructor for class de.otto.synapse.state.ChronicleMapBytesMarshaller
 
chronicleMapConcurrentMapStateRepositoryBuilder(Class<V>) - Static method in class de.otto.synapse.state.ChronicleMapStateRepository
 
ChronicleMapStateRepository<V> - Class in de.otto.synapse.state
 
ChronicleMapStateRepository.Builder<V> - Class in de.otto.synapse.state
 
clear() - Method in class de.otto.synapse.state.StateRepository
 
compute(String, BiFunction<? super String, ? super Optional<V>, ? extends V>) - Method in class de.otto.synapse.state.StateRepository
 
ConcurrentHashMapStateRepository<V> - Class in de.otto.synapse.state
 
ConcurrentHashMapStateRepository() - Constructor for class de.otto.synapse.state.ConcurrentHashMapStateRepository
 
concurrentMap - Variable in class de.otto.synapse.state.StateRepository
 
consumeAll(ChannelPosition, Predicate<Message<?>>) - Method in class de.otto.synapse.eventsource.DelegateEventSource
Consumes all events from the EventSource, beginning with startFrom, until the stopCondition is met.
consumeAll() - Method in interface de.otto.synapse.eventsource.EventSource
Consumes all events from the EventSource, until the (current) end of the stream is reached.
consumeAll(ChannelPosition) - Method in interface de.otto.synapse.eventsource.EventSource
Consumes all events from the EventSource, beginning with startFrom, until the (current) end of the stream is reached.
consumeAll(Predicate<Message<?>>) - Method in interface de.otto.synapse.eventsource.EventSource
Consumes all events from the EventSource until the stopCondition is met.
consumeAll(ChannelPosition, Predicate<Message<?>>) - Method in interface de.otto.synapse.eventsource.EventSource
Consumes all events from the EventSource, beginning with startFrom, until the stopCondition is met.
consumeAll(ChannelPosition, Predicate<Message<?>>) - Method in class de.otto.synapse.eventsource.InMemoryEventSource
 
ConsumerProcessProperties - Class in de.otto.synapse.configuration
 
ConsumerProcessProperties() - Constructor for class de.otto.synapse.configuration.ConsumerProcessProperties
 
createSenderForStream(String) - Method in interface de.otto.synapse.sender.MessageSenderFactory
 

D

de.otto.synapse.annotation - package de.otto.synapse.annotation
 
de.otto.synapse.channel - package de.otto.synapse.channel
 
de.otto.synapse.configuration - package de.otto.synapse.configuration
 
de.otto.synapse.consumer - package de.otto.synapse.consumer
 
de.otto.synapse.eventsource - package de.otto.synapse.eventsource
 
de.otto.synapse.message - package de.otto.synapse.message
 
de.otto.synapse.sender - package de.otto.synapse.sender
 
de.otto.synapse.state - package de.otto.synapse.state
 
de.otto.synapse.translator - package de.otto.synapse.translator
 
DefaultMessageConsumer<T> - Class in de.otto.synapse.consumer
 
DefaultMessageConsumer(String, Class<T>, StateRepository<T>) - Constructor for class de.otto.synapse.consumer.DefaultMessageConsumer
 
DelegateEventSource - Class in de.otto.synapse.eventsource
 
DelegateEventSource(String, String, String) - Constructor for class de.otto.synapse.eventsource.DelegateEventSource
 
DispatchingMessageConsumer - Class in de.otto.synapse.consumer
A MessageConsumer that is acting as a MessageDispatcher for multiple MessageConsumers.
DispatchingMessageConsumer(ObjectMapper) - Constructor for class de.otto.synapse.consumer.DispatchingMessageConsumer
 
DispatchingMessageConsumer(ObjectMapper, List<MessageConsumer<?>>) - Constructor for class de.otto.synapse.consumer.DispatchingMessageConsumer
 
dispatchingMessageConsumer() - Method in class de.otto.synapse.eventsource.AbstractEventSource
Returns the list of registered EventConsumers.
dispatchingMessageConsumer() - Method in class de.otto.synapse.eventsource.DelegateEventSource
Returns registered EventConsumers.
dispatchingMessageConsumer() - Method in interface de.otto.synapse.eventsource.EventSource
Returns registered EventConsumers.

E

emptyHeader() - Static method in class de.otto.synapse.message.Header
 
EnableEventSource - Annotation Type in de.otto.synapse.annotation
Enables auto-configuration of event sources.
EnableEventSources - Annotation Type in de.otto.synapse.annotation
 
equals(Object) - Method in class de.otto.synapse.channel.ChannelPosition
 
equals(Object) - Method in class de.otto.synapse.channel.ChannelResponse
 
equals(Object) - Method in class de.otto.synapse.consumer.EventSourceNotification
 
equals(Object) - Method in class de.otto.synapse.message.Header
 
equals(Object) - Method in class de.otto.synapse.message.Message
 
EventSource - Interface in de.otto.synapse.eventsource
An event source of events.
EventSourceBeanRegistrar - Class in de.otto.synapse.annotation
ImportBeanDefinitionRegistrar for event-sourcing support.
EventSourceBeanRegistrar() - Constructor for class de.otto.synapse.annotation.EventSourceBeanRegistrar
 
EventSourceBuilder - Interface in de.otto.synapse.eventsource
A builder used to build instances.
EventSourceConsumer - Annotation Type in de.otto.synapse.annotation
 
eventSourceConsumerAnnotationBeanPostProcessor() - Method in class de.otto.synapse.configuration.EventSourcingAutoConfiguration
 
EventSourceConsumerBeanPostProcessor - Class in de.otto.synapse.annotation
 
EventSourceConsumerBeanPostProcessor() - Constructor for class de.otto.synapse.annotation.EventSourceConsumerBeanPostProcessor
 
eventSourceConsumerProcess() - Method in class de.otto.synapse.configuration.EventSourcingAutoConfiguration
 
EventSourceConsumerProcess - Class in de.otto.synapse.eventsource
 
EventSourceConsumerProcess(List<EventSource>) - Constructor for class de.otto.synapse.eventsource.EventSourceConsumerProcess
 
EventSourceNotification - Class in de.otto.synapse.consumer
 
EventSourceNotification.Builder - Class in de.otto.synapse.consumer
 
EventSourceNotification.Status - Enum in de.otto.synapse.consumer
 
EventSourcingAutoConfiguration - Class in de.otto.synapse.configuration
 
EventSourcingAutoConfiguration() - Constructor for class de.otto.synapse.configuration.EventSourcingAutoConfiguration
 

F

fromHorizon() - Static method in class de.otto.synapse.channel.ChannelPosition
 

G

get(String) - Method in class de.otto.synapse.state.StateRepository
 
getAll() - Method in class de.otto.synapse.consumer.DispatchingMessageConsumer
 
getArrivalTimestamp() - Method in class de.otto.synapse.message.Header
 
getChannel(String) - Static method in class de.otto.synapse.channel.InMemoryChannels
 
getChannelPosition() - Method in class de.otto.synapse.channel.ChannelResponse
 
getChannelPosition() - Method in class de.otto.synapse.consumer.EventSourceNotification
 
getChannelPosition() - Method in class de.otto.synapse.message.Header
 
getDelegate() - Method in class de.otto.synapse.eventsource.DelegateEventSource
 
getDurationBehind() - Method in class de.otto.synapse.message.Header
Returns the approx.
getEventSourceName() - Method in class de.otto.synapse.consumer.EventSourceNotification
 
getHeader() - Method in class de.otto.synapse.message.Message
 
getKey() - Method in class de.otto.synapse.message.Message
 
getKeySetIterable() - Method in class de.otto.synapse.state.StateRepository
 
getMessage() - Method in class de.otto.synapse.consumer.EventSourceNotification
 
getName() - Method in class de.otto.synapse.eventsource.AbstractEventSource
 
getName() - Method in class de.otto.synapse.eventsource.DelegateEventSource
 
getName() - Method in interface de.otto.synapse.eventsource.EventSource
An event source's name is used to connect event sources to their consumers.
getOrder() - Method in class de.otto.synapse.annotation.EventSourceConsumerBeanPostProcessor
 
getPayload() - Method in class de.otto.synapse.message.Message
 
getPhase() - Method in class de.otto.synapse.eventsource.EventSourceConsumerProcess
 
getStatus() - Method in class de.otto.synapse.channel.ChannelResponse
 
getStatus() - Method in class de.otto.synapse.consumer.EventSourceNotification
 
getStreamName() - Method in class de.otto.synapse.consumer.EventSourceNotification
 
getStreamName() - Method in class de.otto.synapse.eventsource.DelegateEventSource
Returns the name of the EventSource.
getStreamName() - Method in interface de.otto.synapse.eventsource.EventSource
Returns the name of the EventSource.
getStreamName() - Method in class de.otto.synapse.eventsource.InMemoryEventSource
 

H

handleContextRefresh(ContextRefreshedEvent) - Method in class de.otto.synapse.eventsource.EventSourceConsumerProcess
 
hashCode() - Method in class de.otto.synapse.channel.ChannelPosition
 
hashCode() - Method in class de.otto.synapse.channel.ChannelResponse
 
hashCode() - Method in class de.otto.synapse.consumer.EventSourceNotification
 
hashCode() - Method in class de.otto.synapse.message.Header
 
hashCode() - Method in class de.otto.synapse.message.Message
 
Header - Class in de.otto.synapse.message
The Header of a Message.

I

InMemoryChannel - Class in de.otto.synapse.channel
 
InMemoryChannel() - Constructor for class de.otto.synapse.channel.InMemoryChannel
 
InMemoryChannels - Class in de.otto.synapse.channel
 
InMemoryChannels() - Constructor for class de.otto.synapse.channel.InMemoryChannels
 
InMemoryEventSource - Class in de.otto.synapse.eventsource
 
InMemoryEventSource(String, String, InMemoryChannel, ApplicationEventPublisher, ObjectMapper) - Constructor for class de.otto.synapse.eventsource.InMemoryEventSource
 
InMemoryMessageSender - Class in de.otto.synapse.sender
 
InMemoryMessageSender(MessageTranslator<String>, InMemoryChannel) - Constructor for class de.otto.synapse.sender.InMemoryMessageSender
 
isAutoStartup() - Method in class de.otto.synapse.eventsource.EventSourceConsumerProcess
 
isEnabled() - Method in class de.otto.synapse.configuration.ConsumerProcessProperties
 
isRunning() - Method in class de.otto.synapse.eventsource.EventSourceConsumerProcess
Check whether this component is currently running.
isStopping() - Method in class de.otto.synapse.eventsource.AbstractEventSource
 
isStopping() - Method in class de.otto.synapse.eventsource.DelegateEventSource
 
isStopping() - Method in interface de.otto.synapse.eventsource.EventSource
 

J

JsonByteBufferMessageTranslator - Class in de.otto.synapse.translator
A MessageTranslator that converts messages into messages with ByteBuffer JSON payloads.
JsonByteBufferMessageTranslator(ObjectMapper) - Constructor for class de.otto.synapse.translator.JsonByteBufferMessageTranslator
 
JsonStringMessageTranslator - Class in de.otto.synapse.translator
A MessageTranslator that converts messages into messages with String JSON payloads.
JsonStringMessageTranslator(ObjectMapper) - Constructor for class de.otto.synapse.translator.JsonStringMessageTranslator
 

K

keyPattern() - Method in class de.otto.synapse.consumer.DefaultMessageConsumer
 
keyPattern() - Method in class de.otto.synapse.consumer.DispatchingMessageConsumer
Returns the pattern of event keys accepted by this consumer.
keyPattern() - Method in interface de.otto.synapse.consumer.MessageConsumer
Returns the pattern of event keys accepted by this consumer.
keyPattern() - Method in class de.otto.synapse.consumer.MethodInvokingMessageConsumer
Returns the pattern of Message.getKey() () event keys} accepted by this consumer.

M

merge(List<ChannelPosition>) - Static method in class de.otto.synapse.channel.ChannelPosition
 
Message<T> - Class in de.otto.synapse.message
A Message is an atomic packet of data that can be transmitted on a channel.
Message(String, Header, T) - Constructor for class de.otto.synapse.message.Message
 
message(String, T) - Static method in class de.otto.synapse.message.Message
 
message(String, Header, T) - Static method in class de.otto.synapse.message.Message
 
MessageConsumer<T> - Interface in de.otto.synapse.consumer
A consumer endpoint for messages with payload-type <T>.
MessageSender - Interface in de.otto.synapse.sender
 
MessageSenderFactory - Interface in de.otto.synapse.sender
 
MessageTranslator<P> - Interface in de.otto.synapse.translator
The Message Translator is the messaging equivalent of the Adapter pattern described in [GoF].
MethodInvokingMessageConsumer<T> - Class in de.otto.synapse.consumer
A MessageConsumer that is calling a method of a class instance for every accepted Message
MethodInvokingMessageConsumer(String, Class<T>, Object, Method) - Constructor for class de.otto.synapse.consumer.MethodInvokingMessageConsumer
 

O

objectMapper() - Method in class de.otto.synapse.configuration.EventSourcingAutoConfiguration
 
of(String, String) - Static method in class de.otto.synapse.channel.ChannelPosition
 
of(Map<String, String>) - Static method in class de.otto.synapse.channel.ChannelPosition
 
of(Status, ChannelPosition) - Static method in class de.otto.synapse.channel.ChannelResponse
 
of(List<ChannelResponse>) - Static method in class de.otto.synapse.channel.ChannelResponse
 
of(String, Class<T>, Consumer<Message<T>>) - Static method in interface de.otto.synapse.consumer.MessageConsumer
 

P

payloadType() - Method in class de.otto.synapse.consumer.DefaultMessageConsumer
Returns the expected payload type of events consumed by this EventConsumer.
payloadType() - Method in class de.otto.synapse.consumer.DispatchingMessageConsumer
Returns the expected payload type of events consumed by this EventConsumer.
payloadType() - Method in interface de.otto.synapse.consumer.MessageConsumer
Returns the expected payload type of events consumed by this EventConsumer.
payloadType() - Method in class de.otto.synapse.consumer.MethodInvokingMessageConsumer
Returns the expected payload type of events consumed by this EventConsumer.
positionOf(String) - Method in class de.otto.synapse.channel.ChannelPosition
Returns the position of a single shard, or "0", if there is no information about the shard.
postProcessAfterInitialization(Object, String) - Method in class de.otto.synapse.annotation.EventSourceConsumerBeanPostProcessor
 
postProcessBeforeInitialization(Object, String) - Method in class de.otto.synapse.annotation.EventSourceConsumerBeanPostProcessor
 
publishEvent(ChannelPosition, EventSourceNotification.Status) - Method in class de.otto.synapse.eventsource.AbstractEventSource
 
publishEvent(ChannelPosition, EventSourceNotification.Status, String) - Method in class de.otto.synapse.eventsource.AbstractEventSource
 
put(String, V) - Method in class de.otto.synapse.state.StateRepository
 

R

read(Bytes, V) - Method in class de.otto.synapse.state.ChronicleMapBytesMarshaller
 
readResolve() - Method in class de.otto.synapse.state.ChronicleMapBytesMarshaller
 
receive() - Method in class de.otto.synapse.channel.InMemoryChannel
 
register(MessageConsumer<?>) - Method in class de.otto.synapse.eventsource.AbstractEventSource
Registers a new EventConsumer at the EventSource.
register(MessageConsumer<?>) - Method in class de.otto.synapse.eventsource.DelegateEventSource
Registers a new EventConsumer at the EventSource.
register(MessageConsumer<?>) - Method in interface de.otto.synapse.eventsource.EventSource
Registers a new EventConsumer at the EventSource.
registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class de.otto.synapse.annotation.EventSourceBeanRegistrar
 
remove(String) - Method in class de.otto.synapse.state.StateRepository
 
responseHeader(ChannelPosition, Instant, Duration) - Static method in class de.otto.synapse.message.Header
 
responseHeader(ChannelPosition, Instant) - Static method in class de.otto.synapse.message.Header
 

S

send(Message<String>) - Method in class de.otto.synapse.channel.InMemoryChannel
 
send(Message<T>) - Method in class de.otto.synapse.sender.InMemoryMessageSender
 
send(Message<T>) - Method in interface de.otto.synapse.sender.MessageSender
 
send(String, T) - Method in interface de.otto.synapse.sender.MessageSender
 
sendBatch(Collection<Message<T>>) - Method in interface de.otto.synapse.sender.MessageSender
 
sendBatch(Stream<Message<T>>) - Method in interface de.otto.synapse.sender.MessageSender
 
setApplicationContext(ApplicationContext) - Method in class de.otto.synapse.annotation.EventSourceConsumerBeanPostProcessor
 
setApplicationContext(ApplicationContext) - Method in class de.otto.synapse.eventsource.DelegateEventSource
 
setEnabled(boolean) - Method in class de.otto.synapse.configuration.ConsumerProcessProperties
 
setEnvironment(Environment) - Method in class de.otto.synapse.annotation.EventSourceBeanRegistrar
Set the Environment that this component runs in.
shards() - Method in class de.otto.synapse.channel.ChannelPosition
 
size() - Method in class de.otto.synapse.state.StateRepository
 
start() - Method in class de.otto.synapse.eventsource.EventSourceConsumerProcess
 
StateRepository<V> - Class in de.otto.synapse.state
 
StateRepository(ConcurrentMap<String, V>) - Constructor for class de.otto.synapse.state.StateRepository
 
Status - Enum in de.otto.synapse.channel
 
stop() - Method in class de.otto.synapse.eventsource.AbstractEventSource
 
stop() - Method in class de.otto.synapse.eventsource.DelegateEventSource
 
stop() - Method in interface de.otto.synapse.eventsource.EventSource
 
stop(Runnable) - Method in class de.otto.synapse.eventsource.EventSourceConsumerProcess
 
stop() - Method in class de.otto.synapse.eventsource.EventSourceConsumerProcess
 
StringMessage - Class in de.otto.synapse.message
A Message is an atomic packet of data that can be transmitted on a channel.
stringMessage(String, String) - Static method in class de.otto.synapse.message.StringMessage
 
stringMessage(String, Header, String) - Static method in class de.otto.synapse.message.StringMessage
 

T

toString() - Method in class de.otto.synapse.channel.ChannelPosition
 
toString() - Method in class de.otto.synapse.channel.ChannelResponse
 
toString() - Method in class de.otto.synapse.consumer.EventSourceNotification
 
toString() - Method in class de.otto.synapse.eventsource.DelegateEventSource
 
toString() - Method in class de.otto.synapse.message.Header
 
toString() - Method in class de.otto.synapse.message.Message
 
translate(Message<?>) - Method in class de.otto.synapse.translator.JsonByteBufferMessageTranslator
Translates a Message into a Message with payload-type <ByteBuffer> and serializes the payload into a JSON ByteBuffer.
translate(Message<?>) - Method in class de.otto.synapse.translator.JsonStringMessageTranslator
Translates a Message into a Message with payload-type <String> and serializes the payload into a JSON String.
translate(Message<?>) - Method in interface de.otto.synapse.translator.MessageTranslator
Translates a Message into a Message with payload-type <P>

V

valueOf(String) - Static method in enum de.otto.synapse.channel.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.otto.synapse.consumer.EventSourceNotification.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.otto.synapse.channel.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.otto.synapse.consumer.EventSourceNotification.Status
Returns an array containing the constants of this enum type, in the order they are declared.

W

withEventSourceName(String) - Method in class de.otto.synapse.consumer.EventSourceNotification.Builder
 
withMapBuilder(ChronicleMapBuilder<String, V>) - Method in class de.otto.synapse.state.ChronicleMapStateRepository.Builder
 
withMessage(String) - Method in class de.otto.synapse.consumer.EventSourceNotification.Builder
 
withStatus(EventSourceNotification.Status) - Method in class de.otto.synapse.consumer.EventSourceNotification.Builder
 
withStreamName(String) - Method in class de.otto.synapse.consumer.EventSourceNotification.Builder
 
withStreamPosition(ChannelPosition) - Method in class de.otto.synapse.consumer.EventSourceNotification.Builder
 
write(Bytes, V) - Method in class de.otto.synapse.state.ChronicleMapBytesMarshaller
 
A B C D E F G H I J K M O P R S T V W 
Skip navigation links