public class InMemOffsetManager extends Object implements OffsetManager
| Constructor and Description |
|---|
InMemOffsetManager() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<String> |
getLastOffset()
Gets the last stored offset.
|
void |
update(String offset)
Update the stored offset value.
|
public com.google.common.base.Optional<String> getLastOffset()
OffsetManagergetLastOffset in interface OffsetManagerOptional<Long>public void update(String offset)
OffsetManagerupdate in interface OffsetManageroffset - LongCopyright © 2016. All rights reserved.