com.octo.android.robospice.command
Class PutDataInCacheCommand<T>

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

public class PutDataInCacheCommand<T>
extends SpiceManager.SpiceManagerCommand<T>


Field Summary
 
Fields inherited from class com.octo.android.robospice.SpiceManager.SpiceManagerCommand
spiceManager
 
Constructor Summary
PutDataInCacheCommand(SpiceManager spiceManager, T data, Object cacheKey)
           
 
Method Summary
protected  T 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

PutDataInCacheCommand

public PutDataInCacheCommand(SpiceManager spiceManager,
                             T data,
                             Object cacheKey)
Method Detail

executeWhenBound

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


Copyright © 2012-2014. All Rights Reserved.