public void cleanup() {
		long currentTime = System.currentTimeMillis();

		// remove entries which have exceeded their time to live
		cachedExecutionGraphs.values().removeIf(
			(ExecutionGraphEntry entry) -> currentTime >= entry.getTTL());
	}
public void cleanup ( ) { long currentTime = System . currentTimeMillis ( ) ; cachedExecutionGraphs . values ( ) . removeIf ( ( ExecutionGraphEntry entry ) -> currentTime >= entry . getTTL ( ) ) ; }
Perform the cleanup of out dated {@link ExecutionGraphEntry}.