src/main/java/com/googlecode/objectify/impl/Deferrer.java
public void undefer(final Object keyOrEntity) {
		if (keyOrEntity instanceof Key<?>) {
			operations.remove((Key<?>)keyOrEntity);
		}
		else if (keyOrEntity instanceof com.google.cloud.datastore.Key) {
			operations.remove(Key.create((com.google.cloud.datastore.Key)keyOrEntity));
		}
		else if (factory().keys().requiresAutogeneratedId(keyOrEntity)) {	// note might be FullEntity without complete key
			autogeneratedIdSaves.remove(keyOrEntity);
		}
		else {
			final Key<?> key = factory().keys().keyOf(keyOrEntity);
			operations.remove(key);
		}
	}
public void undefer(final Object keyOrEntity) {
		if (keyOrEntity instanceof Key<?>) {
			operations.remove((Key<?>)keyOrEntity);
		}
		else if (keyOrEntity instanceof com.google.cloud.datastore.Key) {
			operations.remove(Key.create((com.google.cloud.datastore.Key)keyOrEntity));
		}
		else if (factory().keys().requiresAutogeneratedId(keyOrEntity)) {	// note might be FullEntity without complete key
			autogeneratedIdSaves.remove(keyOrEntity);
		}
		else {
			final Key<?> key = factory().keys().keyOf(keyOrEntity);
			operations.remove(key);
		}
	}
public void undefer ( final Object keyOrEntity ) { if ( keyOrEntity instanceof Key < ? > ) { operations . remove ( ( Key < ? > ) keyOrEntity ) ; } else if ( keyOrEntity instanceof com . google . cloud . datastore . Key ) { operations . remove ( Key . create ( ( com . google . cloud . datastore . Key ) keyOrEntity ) ) ; } else if ( factory ( ) . keys ( ) . requiresAutogeneratedId ( keyOrEntity ) ) { // note might be FullEntity without complete key autogeneratedIdSaves . remove ( keyOrEntity ) ; } else { final Key < ? > key = factory ( ) . keys ( ) . keyOf ( keyOrEntity ) ; operations . remove ( key ) ; } }
Eliminate any deferred operations against the entity. Used when an explicit save (or delete) was
executed against the key, so we no longer need the deferred operation.

@param keyOrEntity can be a Key, Key<?>, Entity, or entity pojo
Eliminate any deferred operations against the entity . Used when an explicit save ( or delete ) was executed against the key so we no longer need the deferred operation .