org.apache.flume.serialization
Interface PositionTracker
- All Superinterfaces: 
- Closeable
- All Known Implementing Classes: 
- DurablePositionTracker
- @InterfaceAudience.Private
@InterfaceStability.Evolving
public interface PositionTracker 
- extends Closeable
Defines an interface for tracking the offset position in a target file.
 
storePosition
void storePosition(long position)
                   throws IOException
- 
 
- 
- Throws:
- IOException
 
getPosition
long getPosition()
- 
 
- 
 
getTarget
String getTarget()
- 
 
- 
 
close
void close()
           throws IOException
- 
- Specified by:
- closein interface- Closeable
 
- 
- Throws:
- IOException
 
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.