diff --git a/src/main/java/org/lsc/jndi/PullableJndiSrcService.java b/src/main/java/org/lsc/jndi/PullableJndiSrcService.java index 535b2f77..6b6d518f 100644 --- a/src/main/java/org/lsc/jndi/PullableJndiSrcService.java +++ b/src/main/java/org/lsc/jndi/PullableJndiSrcService.java @@ -163,4 +163,18 @@ public Entry getNextId() throws LscServiceException { public long getInterval() { return interval*1000; } + + /** + * Getter for lastSuccessfulSync, useful in cases where the consumer has to work around this to reset this to zero for a forced fresh sync. + */ + public Date getLastSuccessfulSync() { + return this.lastSuccessfulSync; + } + + /** + * Setter for lastSuccessfulSync, useful in cases where the consumer has to work around this to reset this to zero for a forced fresh sync. + */ + public void setLastSuccessfulSync(Date lastSuccessfulSync) { + this.lastSuccessfulSync = lastSuccessfulSync; + } }