src/main/java/com/googlecode/objectify/cache/PendingFutures.java
public static void completeAllPendingFutures() {
		// This will cause done Futures to fire callbacks and remove themselves
		for (Future<?> fut: pending.get().keySet()) {
			try {
				fut.get();
			}
			catch (Exception e) {
				log.error("Error cleaning up pending Future: " + fut, e);
			}
		}
	}
public static void completeAllPendingFutures() {
		// This will cause done Futures to fire callbacks and remove themselves
		for (Future<?> fut: pending.get().keySet()) {
			try {
				fut.get();
			}
			catch (Exception e) {
				log.error("Error cleaning up pending Future: " + fut, e);
			}
		}
	}
public static void completeAllPendingFutures ( ) { // This will cause done Futures to fire callbacks and remove themselves
 for ( Future < ? > fut : pending . get ( ) . keySet ( ) ) { try { fut . get ( ) ; } catch ( Exception e ) { log . error ( "Error cleaning up pending Future: " + fut , e ) ; } } }
Iterate through all pending futures and get() them, forcing any callbacks to be called.
This is used only by the AsyncCacheFilter (if using cache without Objectify) or ObjectifyFilter
(if using Objectify normally) because we don't have a proper hook otherwise.
Iterate through all pending futures and get () them forcing any callbacks to be called . This is used only by the AsyncCacheFilter ( if using cache without Objectify ) or ObjectifyFilter ( if using Objectify normally ) because we don t have a proper hook otherwise .