private void waitUntilEnoughWorkItemsAvailable(List<SingleOperation> quarantined, int workSize) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer(getThreadName() + " : processItems() : only " + workSize + " work items available, waiting for " + writeBatchSize + " items to fill up a batch"); } reassemble(quarantined); }
private void waitUntilEnoughTimeHasPassed(List<SingleOperation> quarantined, int batchSize, long secondsSinceLastWorkDone) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer(getThreadName() + " : processItems() : last work was done " + secondsSinceLastWorkDone + " seconds ago, processing " + batchSize + " batch items would exceed the rate limit of " + rateLimitPerSecond + ", waiting for a while."); } reassemble(quarantined); }
reassemble(quarantined);
reassemble(quarantined); throw e; } catch (final Error e) { reassemble(quarantined); throw e;
private void waitUntilEnoughWorkItemsAvailable(List<SingleOperation> quarantined, int workSize) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer(getThreadName() + " : processItems() : only " + workSize + " work items available, waiting for " + writeBatchSize + " items to fill up a batch"); } reassemble(quarantined); }
private void waitUntilEnoughTimeHasPassed(List<SingleOperation> quarantined, int batchSize, long secondsSinceLastWorkDone) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer(getThreadName() + " : processItems() : last work was done " + secondsSinceLastWorkDone + " seconds ago, processing " + batchSize + " batch items would exceed the rate limit of " + rateLimitPerSecond + ", waiting for a while."); } reassemble(quarantined); }
private void waitUntilEnoughTimeHasPassed(List<SingleOperation> quarantined, int batchSize, long secondsSinceLastWorkDone) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer(getThreadName() + " : processItems() : last work was done " + secondsSinceLastWorkDone + " seconds ago, processing " + batchSize + " batch items would exceed the rate limit of " + rateLimitPerSecond + ", waiting for a while."); } reassemble(quarantined); }
private void waitUntilEnoughWorkItemsAvailable(List<SingleOperation> quarantined, int workSize) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer(getThreadName() + " : processItems() : only " + workSize + " work items available, waiting for " + writeBatchSize + " items to fill up a batch"); } reassemble(quarantined); }
private void waitUntilEnoughWorkItemsAvailable(List<SingleOperation> quarantined, int workSize) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer(getThreadName() + " : processItems() : only " + workSize + " work items available, waiting for " + writeBatchSize + " items to fill up a batch"); } reassemble(quarantined); }
private void waitUntilEnoughTimeHasPassed(List<SingleOperation> quarantined, int batchSize, long secondsSinceLastWorkDone) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer(getThreadName() + " : processItems() : last work was done " + secondsSinceLastWorkDone + " seconds ago, processing " + batchSize + " batch items would exceed the rate limit of " + rateLimitPerSecond + ", waiting for a while."); } reassemble(quarantined); }
reassemble(quarantined);
reassemble(quarantined); throw e; } catch (final Error e) { reassemble(quarantined); throw e;
reassemble(quarantined); throw e; } catch (final Error e) { reassemble(quarantined); throw e;
reassemble(quarantined); throw e; } catch (final Error e) { reassemble(quarantined); throw e;