com.googlecode.objectify.util
Class SimpleFutureWrapper<K,V>

java.lang.Object
  extended by com.google.appengine.api.utils.FutureWrapper<K,V>
      extended by com.googlecode.objectify.util.SimpleFutureWrapper<K,V>
All Implemented Interfaces:
java.util.concurrent.Future<V>

public abstract class SimpleFutureWrapper<K,V>
extends com.google.appengine.api.utils.FutureWrapper<K,V>

Slightly more convenient than the GAE SDK version.

Author:
Jeff Schnitzer

Constructor Summary
SimpleFutureWrapper(java.util.concurrent.Future<K> base)
           
 
Method Summary
protected  java.lang.Throwable convertException(java.lang.Throwable cause)
           
 
Methods inherited from class com.google.appengine.api.utils.FutureWrapper
absorbParentException, cancel, equals, get, get, hashCode, isCancelled, isDone, wrap
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFutureWrapper

public SimpleFutureWrapper(java.util.concurrent.Future<K> base)
Method Detail

convertException

protected java.lang.Throwable convertException(java.lang.Throwable cause)
Specified by:
convertException in class com.google.appengine.api.utils.FutureWrapper<K,V>


Copyright © 2011 Jeff Schnitzer and a gang of pirates. All Rights Reserved. Build version: 3.1