Modifier and Type | Class and Description |
---|---|
class |
AbstractOperationDelegate
Abstract base implementation for an
IOperationDelegate . |
class |
DatasourceAwareDelegateTransformer
The
DatasourceAwareDelegateTransformer is an
IOperationDelegate implementation for AbstractRestOperation s
which also takes a IDataTransformer into account. |
Modifier and Type | Class and Description |
---|---|
class |
FileOperationDelegate
The
FileOperationDelegate writes the result data of a
IOperation to a file. |
Modifier and Type | Method and Description |
---|---|
void |
IOperation.addOperationDelegate(IOperationDelegate delegate)
Adds the delivered
IOperationDelegate . |
void |
AbstractSynchronizableOperation.addOperationDelegate(IOperationDelegate delegate) |
void |
IOperation.removeOperationDelegate(IOperationDelegate delegate)
Removes the delivered
IOperationDelegate . |
void |
AbstractSynchronizableOperation.removeOperationDelegate(IOperationDelegate delegate) |
Modifier and Type | Interface and Description |
---|---|
interface |
IOperationCacheHandler
This is a common interface that defines some hook points to influence the
execution of an
AbstractSynchronizableOperation . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCacheHandler
This is a base class to handle caching by providing some methods to save/load
from/to the cache.
|
class |
AbstractOfflineAwareCacheHandler
This is a more complex example for a
IOperationCacheHandler that
changes behavior depending on the connection status (online/offline). |
class |
AbstractRestCacheHandler
This is a base class to handle caching of
AbstractRestOperation . |
class |
CacheFirstCacheHandler
This is an
IOperationCacheHandler that can be used when offline or
for static resources as it first checks if the requested resource is
available in the cache. |
class |
CacheOnlyCacheHandler
This
IOperationCacheHandler does not execute the operation but always
reads from the cache. |
class |
NoCacheHandler
This is the default
IOperationCacheHandler which just does nothing to
influence the operations execution. |
class |
ServerFirstCacheHandler
This is a common implementation for the
IOperationCacheHandler that
executes the operation and stores a successful result in the cache. |
class |
ServerOnlyCacheHandler
This
IOperationCacheHandler executes the operation and stores the
result in the cache, but never reads from the cache. |
Modifier and Type | Method and Description |
---|---|
void |
IOperationQueue.addDelegate(IOperationDelegate delegate)
add a
IOperationDelegate that will be notified of events
happening with each IOperation s in the queue. |
void |
BasicOperationQueue.addDelegate(IOperationDelegate delegate) |
void |
IOperationQueue.removeDelegate(IOperationDelegate delegate)
remove a
IOperationDelegate |
void |
BasicOperationQueue.removeDelegate(IOperationDelegate delegate) |
Modifier and Type | Class and Description |
---|---|
class |
ConditionalOperationQueue
A specific implementation of the
IOperationQueue which offers the
ability to execute several IOperation s. |