public interface RotationPolicy
| Modifier and Type | Interface and Description |
|---|---|
static class |
RotationPolicy.KeyDirectory
A key for a thread-local store and its related directory pair.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterReceive(boolean messageReceived,
MessageSource<?> source)
Invoked after the message source receive() method.
|
void |
beforeReceive(MessageSource<?> source)
Invoked before the message source receive() method.
|
RotationPolicy.KeyDirectory |
getCurrent()
Return the current
RotationPolicy.KeyDirectory. |
void beforeReceive(MessageSource<?> source)
source - the message source.void afterReceive(boolean messageReceived,
MessageSource<?> source)
messageReceived - true if a message was received.source - the message source.RotationPolicy.KeyDirectory getCurrent()
RotationPolicy.KeyDirectory.RotationPolicy.KeyDirectory