Package | Description |
---|---|
org.axonframework.commandhandling.distributed | |
org.axonframework.commandhandling.distributed.commandfilter |
Modifier and Type | Method and Description |
---|---|
default CommandMessageFilter |
CommandMessageFilter.and(CommandMessageFilter other)
Returns a filter that matches when both this instance and the given
other match. |
CommandMessageFilter |
ConsistentHash.ConsistentHashMember.getCommandFilter()
Returns this member's filter describing the commands it supports
|
default CommandMessageFilter |
CommandMessageFilter.negate()
Returns a filter that matches when this instance doesn't, and vice versa.
|
default CommandMessageFilter |
CommandMessageFilter.or(CommandMessageFilter other)
Returns a filter that matches when either this instance or the given
other matches. |
Modifier and Type | Method and Description |
---|---|
default CommandMessageFilter |
CommandMessageFilter.and(CommandMessageFilter other)
Returns a filter that matches when both this instance and the given
other match. |
default CommandMessageFilter |
CommandMessageFilter.or(CommandMessageFilter other)
Returns a filter that matches when either this instance or the given
other matches. |
void |
CommandRouter.updateMembership(int loadFactor,
CommandMessageFilter commandFilter)
Updates the load factor and capabilities of this member representing the current endpoint if the implementation
allows memberships to be updated dynamically.
|
ConsistentHash |
ConsistentHash.with(Member member,
int loadFactor,
CommandMessageFilter commandFilter)
Registers the given
member with given loadFactor and commandFilter if it is not
already contained in the ConsistentHash . |
Modifier and Type | Class and Description |
---|---|
class |
AcceptAll
A command filter that accepts all CommandMessages
|
class |
AndCommandMessageFilter
Filter that matches whenever both supplied filters match
|
class |
CommandNameFilter
A filter for CommandMessages which filters CommandMessages by a Command Name.
|
class |
DenyAll
A Command Message predicate that denies all CommandMessages
|
class |
DenyCommandNameFilter
A Predicate for CommandMessage's that can deny commands based on their name.
|
class |
NegateCommandMessageFilter
Filter that negates the result of another matcher
|
class |
OrCommandMessageFilter
Filter that matches whenever one of the two supplied filters matches
|
Modifier and Type | Method and Description |
---|---|
CommandMessageFilter |
DenyCommandNameFilter.and(CommandMessageFilter other) |
CommandMessageFilter |
DenyAll.and(CommandMessageFilter other) |
CommandMessageFilter |
CommandNameFilter.and(CommandMessageFilter other) |
CommandMessageFilter |
AcceptAll.and(CommandMessageFilter other) |
CommandMessageFilter |
DenyAll.negate() |
CommandMessageFilter |
CommandNameFilter.negate() |
CommandMessageFilter |
AcceptAll.negate() |
CommandMessageFilter |
DenyCommandNameFilter.or(CommandMessageFilter other) |
CommandMessageFilter |
DenyAll.or(CommandMessageFilter other) |
CommandMessageFilter |
CommandNameFilter.or(CommandMessageFilter other) |
CommandMessageFilter |
AcceptAll.or(CommandMessageFilter other) |
Modifier and Type | Method and Description |
---|---|
CommandMessageFilter |
DenyCommandNameFilter.and(CommandMessageFilter other) |
CommandMessageFilter |
DenyAll.and(CommandMessageFilter other) |
CommandMessageFilter |
CommandNameFilter.and(CommandMessageFilter other) |
CommandMessageFilter |
AcceptAll.and(CommandMessageFilter other) |
CommandMessageFilter |
DenyCommandNameFilter.or(CommandMessageFilter other) |
CommandMessageFilter |
DenyAll.or(CommandMessageFilter other) |
CommandMessageFilter |
CommandNameFilter.or(CommandMessageFilter other) |
CommandMessageFilter |
AcceptAll.or(CommandMessageFilter other) |
Constructor and Description |
---|
AndCommandMessageFilter(CommandMessageFilter first,
CommandMessageFilter second)
Initialize the filter to match when both the
first and the second filter match. |
NegateCommandMessageFilter(CommandMessageFilter filter)
Initialize a filter that negates results of the the given
filter . |
OrCommandMessageFilter(CommandMessageFilter first,
CommandMessageFilter second)
Initialize the filter to match when either the
first or the second filter matches. |
Copyright © 2010–2020. All rights reserved.