protected class BatchedHitWriter.Cycler
extends java.lang.Object
implements java.lang.Runnable
| Modifier | Constructor and Description |
|---|---|
protected |
BatchedHitWriter.Cycler() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isLastUpdateLongAgo(Duration touchFilesNotLaterThan,
long lastUpdate) |
protected boolean |
isQueueToBig(java.util.Map<java.lang.Object,BatchedHitWriter.Hits<?>> elements,
int maxSize) |
void |
run() |
protected void |
waitForSpecifiedInterval() |
public void run()
run in interface java.lang.Runnableprotected void waitForSpecifiedInterval()
protected boolean isQueueToBig(@Nonnull
java.util.Map<java.lang.Object,BatchedHitWriter.Hits<?>> elements,
@Nonnegative
int maxSize)
protected boolean isLastUpdateLongAgo(@Nonnull
Duration touchFilesNotLaterThan,
@Nonnegative
long lastUpdate)
Copyright © 2013 echocat. All Rights Reserved.