Package-level declarations

This package contains classes and interfaces for obtaining entity identifiers.

Types

Link copied to clipboard
public interface CommandRoute<I, M extends CommandMessage> implements Unicast<I, M, C>
Obtains an ID of an entity which handles the command.
Link copied to clipboard
public final class CommandRouting<I> extends MessageRouting<M, C, R>
A routing schema used by a CommandDispatcher for delivering a command to its handler.
Link copied to clipboard
public final class DefaultCommandRoute<I> implements CommandRoute<I, M>
Obtains an ID of a command target entity from the first field of the command message.
Link copied to clipboard
public interface EventRoute<I, M extends EventMessage> implements Multicast<I, M, C>
Obtains a set of entity IDs for which to deliver an event.
Link copied to clipboard
public final class EventRouting<I> extends MessageRouting<M, C, R> implements EventRoute<I, M>
A routing schema used to deliver events.
Link copied to clipboard
public interface Multicast<I, M extends Message, C extends Message> implements Route<M, C, R>
A route for a message to be delivered to several entities.
Link copied to clipboard
public interface Route<M extends Message, C extends Message, R> implements BiFunction<T, U, R>, Serializable
Obtains one or more entity identifiers based on a message and its context.
Link copied to clipboard
public interface StateUpdateRoute<I, M extends EntityState> implements Multicast<I, M, C>
Obtains a set of entity IDs for which to deliver an entity state update.
Link copied to clipboard
public final class StateUpdateRouting<I> extends MessageRouting<M, C, R>
A routing schema used to deliver entity state updates.
Link copied to clipboard
public interface Unicast<I, M extends Message, C extends Message> implements Route<M, C, R>
A route for a message to be delivered to one entity.