public class GroupingHandler<T extends GroupingHandler<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GroupingHandler.Type |
Constructor and Description |
---|
GroupingHandler(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
String |
groupingHandlerAddress()
A reference to a cluster connection and the address it uses.
|
T |
groupingHandlerAddress(String value)
A reference to a cluster connection and the address it uses.
|
Long |
groupTimeout()
How long a group binding will be used, -1 means for ever.
|
T |
groupTimeout(Long value)
How long a group binding will be used, -1 means for ever.
|
Long |
reaperPeriod()
How often the reaper will be run to check for timed out group bindings
(only valid for LOCAL handlers).
|
T |
reaperPeriod(Long value)
How often the reaper will be run to check for timed out group bindings
(only valid for LOCAL handlers).
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
timeout()
How long to wait for a handling decision to be made; an exception will be
thrown during the send if this timeout is reached, ensuring that strict
ordering is kept.
|
T |
timeout(Long value)
How long to wait for a handling decision to be made; an exception will be
thrown during the send if this timeout is reached, ensuring that strict
ordering is kept.
|
GroupingHandler.Type |
type()
Whether the handler is the single "Local" handler for the cluster, which
makes handling decisions, or a "Remote" handler which converses with the
local handler.
|
T |
type(GroupingHandler.Type value)
Whether the handler is the single "Local" handler for the cluster, which
makes handling decisions, or a "Remote" handler which converses with the
local handler.
|
public GroupingHandler(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Long groupTimeout()
public T groupTimeout(Long value)
public String groupingHandlerAddress()
public T groupingHandlerAddress(String value)
public Long reaperPeriod()
public T reaperPeriod(Long value)
public Long timeout()
public T timeout(Long value)
public GroupingHandler.Type type()
public T type(GroupingHandler.Type value)
Copyright © 2020 JBoss by Red Hat. All rights reserved.