com.octo.android.robospice.command
Class IsDataInCacheCommand

java.lang.Object
  extended by com.octo.android.robospice.SpiceManager.SpiceManagerCommand<Boolean>
      extended by com.octo.android.robospice.command.IsDataInCacheCommand
All Implemented Interfaces:
Callable<Boolean>

public class IsDataInCacheCommand
extends SpiceManager.SpiceManagerCommand<Boolean>


Field Summary
 
Fields inherited from class com.octo.android.robospice.SpiceManager.SpiceManagerCommand
spiceManager
 
Constructor Summary
IsDataInCacheCommand(SpiceManager spiceManager, Class<?> clazz, Object cacheKey, long cacheExpiryDuration)
           
 
Method Summary
protected  Boolean executeWhenBound(SpiceService spiceService)
           
 
Methods inherited from class com.octo.android.robospice.SpiceManager.SpiceManagerCommand
call, getException, isSuccessFull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsDataInCacheCommand

public IsDataInCacheCommand(SpiceManager spiceManager,
                            Class<?> clazz,
                            Object cacheKey,
                            long cacheExpiryDuration)
Method Detail

executeWhenBound

protected Boolean executeWhenBound(SpiceService spiceService)
                            throws CacheSavingException,
                                   CacheCreationException
Specified by:
executeWhenBound in class SpiceManager.SpiceManagerCommand<Boolean>
Throws:
CacheSavingException
CacheCreationException


Copyright © 2012-2014. All Rights Reserved.