-
Methods in org.apache.sling.distribution.journal that return Reset
| Modifier and Type |
Method |
Description |
static Reset |
Reset.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Reset[] |
Reset.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Methods in org.apache.sling.distribution.journal with parameters of type Reset
| Modifier and Type |
Method |
Description |
java.lang.String |
MessagingProvider.assignTo(Reset reset,
long relativeOffset) |
Get assign String to feed into createPoller based on either earliest or latest and a relative offset.
|
java.io.Closeable |
MessagingProvider.createPoller(java.lang.String topicName,
Reset reset,
java.lang.String assign,
HandlerAdapter<?>... adapters) |
Create a poller which listens to a topic and starts at a given reset or assigned offset.
|
default java.io.Closeable |
MessagingProvider.createPoller(java.lang.String topicName,
Reset reset,
HandlerAdapter<?>... adapters) |
|
long |
MessagingProvider.retrieveOffset(java.lang.String topicName,
Reset reset) |
Retrieve earliest or latest offset for a topic
|