com.urbanairship.connect.client.offsets.OffsetManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-client Show documentation
Show all versions of connect-client Show documentation
The UA Connect Java client library
/*
Copyright 2015 Urban Airship and Contributors
*/
package com.urbanairship.connect.client.offsets;
import com.google.common.base.Optional;
/**
* Interface to manage stream offsets.
*/
public interface OffsetManager {
/**
* Gets the last stored offset.
*
* @return {@code Optional}
*/
Optional getLastOffset();
/**
* Update the stored offset value.
*
* @param offset Long
*/
void update(String offset);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy