1 // Copyright 2011 Google Inc. All Rights Reserved.
2 package com
.google
.appengine
.api
.datastore
;
4 import java
.util
.concurrent
.Future
;
7 * {@link PostOpFuture} implementation that invokes PostDelete callbacks.
10 class PostDeleteFuture
extends PostOpFuture
<Void
> {
11 private final DeleteContext postDeleteContext
;
13 PostDeleteFuture(Future
<Void
> delegate
, DatastoreCallbacks callbacks
,
14 DeleteContext postDeleteContext
) {
15 super(delegate
, callbacks
);
16 this.postDeleteContext
= postDeleteContext
;
20 void executeCallbacks(Void ignore
) {
21 datastoreCallbacks
.executePostDeleteCallbacks(postDeleteContext
);