@Export(name = "current-segment-timestring", doc = "Same as current-segment-timestamp in human readable form") public String getCurrentSegmentTimestring() throws IOException { return new DateTime(getCurrentSegmentTimestamp()).toString(); }
@Export(name = "max-segment-timestring", doc = "Same as max-segment-timestamp in human readable form") public String getMaxSegmentTimestring() throws IOException { return new DateTime(getMaxSegmentTimestamp()).toString(); }
@Export(name = "max-segment-timestamp", doc = "Timestamp of the max segment that exists in directory") public long getMaxSegmentTimestamp() throws IOException { return recordLogDirectory.getSegmentTimestamp(getMaxSegmentNum()); }
@Export(name = "current-segment-timestamp", doc = "Timestamp of the current segment being read") public long getCurrentSegmentTimestamp() throws IOException { return recordLogDirectory.getSegmentTimestamp(getCurrentSegmentNum()); }
@Export(name = "current-segment-num", doc = "The current segment that the poller is reading") public int getCurrentSegmentNum() { return recordLogDirectory.getSegmentNum(getLastPosition()); }
functions.sync(); checkpointPosition(lastPosition); checkpointPosition(lastPosition); } catch (Exception e) { log.error("error writing last position file", e);
@Export(name = "max-segment-timestamp", doc = "Timestamp of the max segment that exists in directory") public long getMaxSegmentTimestamp() throws IOException { return recordLogDirectory.getSegmentTimestamp(getMaxSegmentNum()); }
@Export(name = "current-segment-timestamp", doc = "Timestamp of the current segment being read") public long getCurrentSegmentTimestamp() throws IOException { return recordLogDirectory.getSegmentTimestamp(getCurrentSegmentNum()); }
@Export(name = "current-segment-num", doc = "The current segment that the poller is reading") public int getCurrentSegmentNum() { return recordLogDirectory.getSegmentNum(getLastPosition()); }
functions.sync(); checkpointPosition(lastPosition); checkpointPosition(lastPosition); } catch (Exception e) { log.error("error writing last position file", e);
@Export(name = "current-segment-timestring", doc = "Same as current-segment-timestamp in human readable form") public String getCurrentSegmentTimestring() throws IOException { return new DateTime(getCurrentSegmentTimestamp()).toString(); }
@Export(name = "max-segment-timestring", doc = "Same as max-segment-timestamp in human readable form") public String getMaxSegmentTimestring() throws IOException { return new DateTime(getMaxSegmentTimestamp()).toString(); }