A B C D E F G H I J L M N O P R S T V W 

A

AbstractContextInvocationFactory<IN,OUT> - Class in com.github.dm.jrt.android.invocation
Abstract implementation of a context invocation factory.
aliasMethod(String) - Method in interface com.github.dm.jrt.android.builder.LoaderObjectRoutineBuilder
Returns a routine used to call the method whose identifying name is specified in an Alias annotation.
Optional Priority, ShareGroup, Timeout, TimeoutAction, as well as CacheStrategy, ClashResolution, InputClashResolution, LoaderId and StaleTime method annotations will be honored.
Note that such annotations will override any configuration set through the builder.
AndroidLog - Class in com.github.dm.jrt.android.log
Android specific log implementation.
AndroidLog() - Constructor for class com.github.dm.jrt.android.log.AndroidLog
 
androidLog() - Static method in class com.github.dm.jrt.android.log.Logs
Returns the Android log shared instance.
AUTO - Static variable in class com.github.dm.jrt.android.builder.LoaderConfiguration
Constant identifying an loader ID computed from the executor class and the input parameters.

B

buildChannel() - Method in interface com.github.dm.jrt.android.builder.LoaderChannelBuilder
Builds and returns an output channel bound to the routine invocation.
builder() - Static method in class com.github.dm.jrt.android.builder.LoaderConfiguration
Returns a loader configuration builder.
builder() - Static method in class com.github.dm.jrt.android.builder.ServiceConfiguration
Returns a service configuration builder.
builderFrom(LoaderConfiguration) - Static method in class com.github.dm.jrt.android.builder.LoaderConfiguration
Returns a loader configuration builder initialized with the specified configuration.
builderFrom() - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration
Returns a loader configuration builder initialized with this configuration.
builderFrom(ServiceConfiguration) - Static method in class com.github.dm.jrt.android.builder.ServiceConfiguration
Returns a service configuration builder initialized with the specified configuration.
builderFrom() - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration
Returns a service configuration builder initialized with this configuration.
buildProxy(ClassToken<TYPE>) - Method in interface com.github.dm.jrt.android.builder.LoaderObjectRoutineBuilder
Returns a proxy object enabling asynchronous call of the target instance methods.
buildProxy(Class<TYPE>) - Method in interface com.github.dm.jrt.android.builder.LoaderObjectRoutineBuilder
Returns a proxy object enabling asynchronous call of the target instance methods.
buildRoutine() - Method in interface com.github.dm.jrt.android.builder.LoaderRoutineBuilder
byteChannel() - Static method in class com.github.dm.jrt.android.core.ParcelableByteChannel
Returns a new byte channel.
byteChannel(int) - Static method in class com.github.dm.jrt.android.core.ParcelableByteChannel
Returns a new byte channel.
Since the byte buffers generated by the channel are likely to be part of a remote procedure call, be aware of the limits imposed by the Android OS architecture when choosing a specific buffer size (see TransactionTooLargeException).
byteChannel(int, int) - Static method in class com.github.dm.jrt.android.core.ParcelableByteChannel
Returns a new byte channel.
Since the byte buffers generated by the channel are likely to be part of a remote procedure call, be aware of the limits imposed by the Android OS architecture when choosing a specific buffer size (see TransactionTooLargeException).

C

CacheStrategy - Annotation Type in com.github.dm.jrt.android.annotation
This annotation is used to decorate methods that are to be invoked in an asynchronous way.
Note that the piece of code inside such methods will be automatically protected so to avoid concurrency issues.
Channels - Class in com.github.dm.jrt.android.core
Utility class for handling routine channels.
Channels - Class in com.github.dm.jrt.android.v11.core
Utility class for handling routine channels.
Channels - Class in com.github.dm.jrt.android.v4.core
Utility class for handling routine channels.
Channels.ParcelableSelectable<DATA> - Class in com.github.dm.jrt.android.core
Data class storing information about the origin of the data.
Channels.ParcelableSelectable(DATA, int) - Constructor for class com.github.dm.jrt.android.core.Channels.ParcelableSelectable
Constructor.
ClashResolution - Annotation Type in com.github.dm.jrt.android.annotation
This annotation is used to decorate methods that are to be invoked in an asynchronous way.
Note that the piece of code inside such methods will be automatically protected so to avoid concurrency issues.
com.github.dm.jrt.android.annotation - package com.github.dm.jrt.android.annotation
Android platform specific annotation definitions.
com.github.dm.jrt.android.builder - package com.github.dm.jrt.android.builder
Android routine builder definitions.
com.github.dm.jrt.android.core - package com.github.dm.jrt.android.core
Core classes and interfaces specific to the Android platform.
com.github.dm.jrt.android.invocation - package com.github.dm.jrt.android.invocation
Invocation classes and interfaces specific to the Android platform.
com.github.dm.jrt.android.log - package com.github.dm.jrt.android.log
Log classes specific to the Android platform.
com.github.dm.jrt.android.routine - package com.github.dm.jrt.android.routine
Routine interfaces specific to the Android platform.
com.github.dm.jrt.android.runner - package com.github.dm.jrt.android.runner
Runner related classes and definitions specific to the Android platform.
com.github.dm.jrt.android.service - package com.github.dm.jrt.android.service
Android service classes implementation.
com.github.dm.jrt.android.v11.core - package com.github.dm.jrt.android.v11.core
Routine interfaces and implementations specific to the Android platform.
com.github.dm.jrt.android.v4.core - package com.github.dm.jrt.android.v4.core
Routine interfaces and implementations with support for Android compatibility library.
contextFrom(Activity) - Static method in class com.github.dm.jrt.android.v11.core.LoaderContext
Returns a context wrapping the specified activity.
contextFrom(Activity, Context) - Static method in class com.github.dm.jrt.android.v11.core.LoaderContext
Returns a context wrapping the specified activity, with the specified instance as base context.
In order to prevent undesired leaks, the class of the specified context must be static.
contextFrom(Fragment) - Static method in class com.github.dm.jrt.android.v11.core.LoaderContext
Returns a context wrapping the specified fragment.
contextFrom(Fragment, Context) - Static method in class com.github.dm.jrt.android.v11.core.LoaderContext
Returns a context wrapping the specified fragment, with the specified instance as base context.
In order to prevent undesired leaks, the class of the specified context must be static.
contextFrom(Fragment) - Static method in class com.github.dm.jrt.android.v4.core.LoaderContext
Returns a context wrapping the specified fragment.
contextFrom(Fragment, Context) - Static method in class com.github.dm.jrt.android.v4.core.LoaderContext
Returns a context wrapping the specified fragment, with the specified instance as base context.
In order to prevent undesired leaks, the class of the specified context must be static.
contextFrom(FragmentActivity) - Static method in class com.github.dm.jrt.android.v4.core.LoaderContext
Returns a context wrapping the specified activity.
contextFrom(FragmentActivity, Context) - Static method in class com.github.dm.jrt.android.v4.core.LoaderContext
Returns a context wrapping the specified activity, with the specified instance as base context.
In order to prevent undesired leaks, the class of the specified context must be static.
ContextInvocation<IN,OUT> - Interface in com.github.dm.jrt.android.invocation
Interface defining an invocation aware of the specific Android context.
ContextInvocationDecorator<IN,OUT> - Class in com.github.dm.jrt.android.invocation
Base context invocation decorator implementation.
ContextInvocationDecorator(ContextInvocation<IN, OUT>) - Constructor for class com.github.dm.jrt.android.invocation.ContextInvocationDecorator
Constructor.
ContextInvocationFactory<IN,OUT> - Class in com.github.dm.jrt.android.invocation
Context invocation factory interface.
ContextInvocationFactory() - Constructor for class com.github.dm.jrt.android.invocation.ContextInvocationFactory
 
ContextInvocations - Class in com.github.dm.jrt.android.invocation
Utility class for creating context invocation factory objects.
ContextInvocationTarget - Class in com.github.dm.jrt.android.core
Class representing a context invocation target.
ContextInvocationWrapper<IN,OUT> - Class in com.github.dm.jrt.android.invocation
Implementation of a platform specific Android invocation wrapping a base invocation instance.
ContextInvocationWrapper(Invocation<IN, OUT>) - Constructor for class com.github.dm.jrt.android.invocation.ContextInvocationWrapper
Constructor.
CREATOR - Static variable in class com.github.dm.jrt.android.core.Channels.ParcelableSelectable
Creator instance needed by the parcelable protocol.
CREATOR - Static variable in class com.github.dm.jrt.android.core.ParcelableByteChannel.ParcelableByteBuffer
Creator instance needed by the parcelable protocol.

D

dbg(List<Object>, String, Throwable) - Method in class com.github.dm.jrt.android.log.AndroidLog
 
DecoratingContextInvocationFactory<IN,OUT> - Class in com.github.dm.jrt.android.invocation
Class decorating the invocations produced by a context invocation factory.
DecoratingContextInvocationFactory(ContextInvocationFactory<IN, OUT>) - Constructor for class com.github.dm.jrt.android.invocation.DecoratingContextInvocationFactory
Constructor.
DEFAULT_CONFIGURATION - Static variable in class com.github.dm.jrt.android.builder.LoaderConfiguration
Empty configuration constant.
The configuration has all the values set to their default.
DEFAULT_CONFIGURATION - Static variable in class com.github.dm.jrt.android.builder.ServiceConfiguration
Empty configuration constant.
The configuration has all the values set to their default.
DelegatingContextInvocation<IN,OUT> - Class in com.github.dm.jrt.android.invocation
Invocation implementation delegating the execution to another routine.
DelegatingContextInvocation(Routine<IN, OUT>, DelegatingInvocation.DelegationType) - Constructor for class com.github.dm.jrt.android.invocation.DelegatingContextInvocation
Constructor.
describeContents() - Method in class com.github.dm.jrt.android.core.Channels.ParcelableSelectable
 
describeContents() - Method in class com.github.dm.jrt.android.core.ParcelableByteChannel.ParcelableByteBuffer
 

E

equals(Object) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration
 
equals(Object) - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration
 
equals(Object) - Method in class com.github.dm.jrt.android.core.ParcelableByteChannel.ParcelableByteBuffer
 
equals(Object) - Method in class com.github.dm.jrt.android.invocation.AbstractContextInvocationFactory
 
err(List<Object>, String, Throwable) - Method in class com.github.dm.jrt.android.log.AndroidLog
 

F

FactoryContext - Interface in com.github.dm.jrt.android.builder
Interface defining a factory providing object instances, whose methods are to be called inside asynchronous invocations.
FactoryContextWrapper - Class in com.github.dm.jrt.android.core
Abstract implementation of a context wrapper implementing a factory context.
The class wraps the application context of the specified base context.
FactoryContextWrapper(Context) - Constructor for class com.github.dm.jrt.android.core.FactoryContextWrapper
Constructor.
factoryFrom(InvocationFactory<IN, OUT>) - Static method in class com.github.dm.jrt.android.invocation.ContextInvocations
Converts the specified invocation factory into a factory of context invocations.
factoryFrom(Routine<IN, OUT>, int, DelegatingInvocation.DelegationType) - Static method in class com.github.dm.jrt.android.invocation.DelegatingContextInvocation
Returns a factory of delegating invocations.
Note that the specified identifier will be used to detect clashing of invocations (see JRoutine and JRoutine).
factoryOf(Class<? extends ContextInvocation<IN, OUT>>) - Static method in class com.github.dm.jrt.android.invocation.ContextInvocations
Builds and returns a new context invocation factory creating instances of the specified class.
factoryOf(Class<? extends ContextInvocation<IN, OUT>>, Object...) - Static method in class com.github.dm.jrt.android.invocation.ContextInvocations
Builds and returns a new context invocation factory creating instances of the specified class by passing the specified arguments to the class constructor.
factoryOf(ClassToken<? extends ContextInvocation<IN, OUT>>) - Static method in class com.github.dm.jrt.android.invocation.ContextInvocations
Builds and returns a new context invocation factory creating instances of the specified class token.
factoryOf(ClassToken<? extends ContextInvocation<IN, OUT>>, Object...) - Static method in class com.github.dm.jrt.android.invocation.ContextInvocations
Builds and returns a new context invocation factory creating instances of the specified class token by passing the specified arguments to the class constructor.
factoryOf() - Static method in class com.github.dm.jrt.android.invocation.PassingContextInvocation
Returns a factory of passing invocations.
FilterContextInvocation<IN,OUT> - Class in com.github.dm.jrt.android.invocation
Abstract implementation of an invocation filtering each input and transforming it in output data.
FilterContextInvocation() - Constructor for class com.github.dm.jrt.android.invocation.FilterContextInvocation
 
fromFactory(Context, ContextInvocationFactory<IN, OUT>) - Static method in class com.github.dm.jrt.android.invocation.ContextInvocations
Converts the specified context invocation factory into a factory of invocations.
FunctionContextInvocation<IN,OUT> - Class in com.github.dm.jrt.android.invocation
This is a special abstract implementation that centralizes the routine invocation inside a single method, which gets called only when all the inputs are available.
FunctionContextInvocation() - Constructor for class com.github.dm.jrt.android.invocation.FunctionContextInvocation
 

G

geInstance(Class<? extends TYPE>, Object...) - Method in interface com.github.dm.jrt.android.builder.FactoryContext
Returns an instance of the object described by the specified parameters.
If a null instance is returned, the constructor matching the specified arguments will be called by default.
getAbortError(Message) - Static method in class com.github.dm.jrt.android.service.RoutineService
Extracts the abort exception from the specified message.
getApplicationContext() - Method in class com.github.dm.jrt.android.core.FactoryContextWrapper
 
getCacheStrategyTypeOr(LoaderConfiguration.CacheStrategyType) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration
Returns the type of cache strategy (null by default).
getClashResolutionTypeOr(LoaderConfiguration.ClashResolutionType) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration
Returns the type of clash resolution (null by default).
getComponent() - Method in class com.github.dm.jrt.android.v11.core.LoaderContext
Returns the wrapped component.
getComponent() - Method in class com.github.dm.jrt.android.v4.core.LoaderContext
Returns the wrapped component.
getFactoryArgs() - Method in class com.github.dm.jrt.android.core.InvocationFactoryTarget
 
getId() - Method in exception com.github.dm.jrt.android.invocation.LoaderInvocationException
Returns the loader ID.
getInputClashResolutionTypeOr(LoaderConfiguration.ClashResolutionType) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration
Returns the type of input clash resolution (null by default).
getInvocationClass() - Method in class com.github.dm.jrt.android.core.InvocationFactoryTarget
Returns the target class.
getInvocationFactory(InvocationFactoryTarget<?, ?>) - Method in class com.github.dm.jrt.android.service.RoutineService
Returns a context invocation factory instance creating invocations of the specified type.
getInvocationTarget(Context) - Method in class com.github.dm.jrt.android.core.ContextInvocationTarget
Returns an invocation target based on the specified context.
Note that a new instance will be returned each time the method is invoked.
getLoaderContext() - Method in class com.github.dm.jrt.android.v11.core.LoaderContext
Returns the loader context.
getLoaderContext() - Method in class com.github.dm.jrt.android.v4.core.LoaderContext
Returns the loader context.
getLoaderIdOr(int) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration
Returns the loader ID (AUTO by default).
getLoaderManager() - Method in class com.github.dm.jrt.android.v11.core.LoaderContext
Returns the loader manager of the specific component.
getLoaderManager() - Method in class com.github.dm.jrt.android.v4.core.LoaderContext
Returns the loader manager of the specific component.
getLogClassOr(Class<? extends Log>) - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration
Returns the log class (null by default).
getName() - Method in exception com.github.dm.jrt.android.service.ServiceDisconnectedException
Gets the service component name.
getResultLooperOr(Looper) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration
Returns the looper used for dispatching the results from the loader (null by default).
getResultLooperOr(Looper) - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration
Returns the looper used for dispatching the results from the service (null by default).
getResultStaleTimeOr(TimeDuration) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration
Returns the time after which results are considered to be stale (null by default).
getRunnerClassOr(Class<? extends Runner>) - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration
Returns the runner class (null by default).
getServiceContext() - Method in class com.github.dm.jrt.android.core.ServiceContext
Returns the service context.
getServiceIntent() - Method in class com.github.dm.jrt.android.core.ServiceContext
Returns the service intent.
getTargetClass() - Method in class com.github.dm.jrt.android.core.ContextInvocationTarget
Returns the target class.
getValue(Message) - Static method in class com.github.dm.jrt.android.service.RoutineService
Extracts the value object from the specified message.

H

handlerRunner(HandlerThread) - Static method in class com.github.dm.jrt.android.runner.Runners
Returns a runner employing the specified handler thread.
hashCode() - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration
 
hashCode() - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration
 
hashCode() - Method in class com.github.dm.jrt.android.core.ParcelableByteChannel.ParcelableByteBuffer
 
hashCode() - Method in class com.github.dm.jrt.android.invocation.AbstractContextInvocationFactory
 

I

InputClashResolution - Annotation Type in com.github.dm.jrt.android.annotation
This annotation is used to decorate methods that are to be invoked in an asynchronous way.
Note that the piece of code inside such methods will be automatically protected so to avoid concurrency issues.
inputStream(ParcelableByteChannel.ParcelableByteBuffer) - Static method in class com.github.dm.jrt.android.core.ParcelableByteChannel
Creates an input stream returning the data contained in the specified buffer.
Note that only one input stream can be created for each buffer.
inputStream(ParcelableByteChannel.ParcelableByteBuffer...) - Static method in class com.github.dm.jrt.android.core.ParcelableByteChannel
Creates an input stream returning the concatenation of the data contained in the specified buffers.
Note that only one input stream can be created for each buffer.
inputStream(List<ParcelableByteChannel.ParcelableByteBuffer>) - Static method in class com.github.dm.jrt.android.core.ParcelableByteChannel
Creates an input stream returning the concatenation of the data contained in the specified buffers.
Note that only one input stream can be created for each buffer.
InvocationClashException - Exception in com.github.dm.jrt.android.invocation
Exception indicating a clash of routine invocations sharing the same ID and type.
InvocationClashException(int) - Constructor for exception com.github.dm.jrt.android.invocation.InvocationClashException
Constructor.
InvocationFactoryTarget<IN,OUT> - Class in com.github.dm.jrt.android.core
Class representing a context invocation factory target.
invocations() - Method in interface com.github.dm.jrt.android.builder.LoaderObjectRoutineBuilder
Note that the configured asynchronous runner will be ignored.
invocations() - Method in interface com.github.dm.jrt.android.builder.LoaderRoutineBuilder
Note that the configured asynchronous runner will be ignored.
invocations() - Method in interface com.github.dm.jrt.android.builder.ServiceObjectRoutineBuilder
invocations() - Method in interface com.github.dm.jrt.android.builder.ServiceRoutineBuilder
InvocationTypeException - Exception in com.github.dm.jrt.android.invocation
Exception indicating a clash of routine invocations with same ID but different types.
InvocationTypeException(int) - Constructor for exception com.github.dm.jrt.android.invocation.InvocationTypeException
Constructor.

J

JRoutine - Class in com.github.dm.jrt.android.core
This utility class extends the base one in order to support additional routine builders specific to the Android platform.
Routine invocations created through the returned builder will be executed inside a service specified by the service context.
JRoutine() - Constructor for class com.github.dm.jrt.android.core.JRoutine
 
JRoutine - Class in com.github.dm.jrt.android.v11.core
This utility class extends the base one in order to support additional routine builders specific to the Android platform.
Routine invocations created through the returned builders can be safely restored after a change in the configuration, so to avoid duplicated calls and memory leaks.
JRoutine() - Constructor for class com.github.dm.jrt.android.v11.core.JRoutine
 
JRoutine - Class in com.github.dm.jrt.android.v4.core
This utility class extends the base one in order to support additional routine builders specific to the Android platform.
Routine invocations created through the returned builders can be safely restored after a change in the configuration, so to avoid duplicated calls and memory leaks.
JRoutine() - Constructor for class com.github.dm.jrt.android.v4.core.JRoutine
 

L

LoaderChannelBuilder - Interface in com.github.dm.jrt.android.builder
Interface defining a builder of output channels bound to loader invocations.
In order to be successfully bound, the specific routine invocation must have a user defined ID and still be running (or cached) at the time of the channel creation.
LoaderConfigurableBuilder<TYPE> - Interface in com.github.dm.jrt.android.builder
Interface defining a configurable builder of routines backed by loaders.
LoaderConfiguration - Class in com.github.dm.jrt.android.builder
Class storing the invocation loader configuration.
LoaderConfiguration.Builder<TYPE> - Class in com.github.dm.jrt.android.builder
Builder of loader configurations.
LoaderConfiguration.Builder(LoaderConfiguration.Configurable<? extends TYPE>) - Constructor for class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Constructor.
LoaderConfiguration.Builder(LoaderConfiguration.Configurable<? extends TYPE>, LoaderConfiguration) - Constructor for class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Constructor.
LoaderConfiguration.CacheStrategyType - Enum in com.github.dm.jrt.android.builder
Result cache type enumeration.
The cache strategy type indicates what will happen to the result of an invocation after its completion.
LoaderConfiguration.ClashResolutionType - Enum in com.github.dm.jrt.android.builder
Invocation clash resolution enumeration.
The clash of two invocations happens when the same loader ID is already in use at the time of the routine execution.
LoaderConfiguration.Configurable<TYPE> - Interface in com.github.dm.jrt.android.builder
Interface defining a configurable object.
LoaderContext - Class in com.github.dm.jrt.android.v11.core
Class representing an Android loader context (like activities or fragments).
LoaderContext - Class in com.github.dm.jrt.android.v4.core
Class representing an Android loader context (like activities or fragments).
LoaderId - Annotation Type in com.github.dm.jrt.android.annotation
This annotation is used to decorate methods that are to be invoked in an asynchronous way.
Note that the piece of code inside such methods will be automatically protected so to avoid concurrency issues.
LoaderInvocationException - Exception in com.github.dm.jrt.android.invocation
Base exception indicating that an unrecoverable error occurred during a loader invocation execution.
LoaderInvocationException(int) - Constructor for exception com.github.dm.jrt.android.invocation.LoaderInvocationException
Constructor.
LoaderObjectRoutineBuilder - Interface in com.github.dm.jrt.android.builder
Interface defining a builder of routines wrapping an object methods.
LoaderRoutine<IN,OUT> - Interface in com.github.dm.jrt.android.routine
Interface defining a routine that can purge specific invocation instances, identifying them by their inputs.
LoaderRoutineBuilder<IN,OUT> - Interface in com.github.dm.jrt.android.builder
Interface defining a builder of routines bound to a context lifecycle through loaders.
loaders() - Method in interface com.github.dm.jrt.android.builder.LoaderChannelBuilder
Note that the clash resolution types will be ignored.
loaders() - Method in interface com.github.dm.jrt.android.builder.LoaderConfigurableBuilder
Gets the loader configuration builder related to the routine builder instance.
The configuration options not supported by the routine builder implementation might be ignored.
Logs - Class in com.github.dm.jrt.android.log
Utility class for creating and sharing log instances, employing specific Android classes.
Logs() - Constructor for class com.github.dm.jrt.android.log.Logs
 
looperRunner(Looper) - Static method in class com.github.dm.jrt.android.runner.Runners
Returns a runner employing the specified looper.
Note that, when the invocation runs in the looper thread, the executions with a delay of 0 will be performed synchronously, while the ones with a positive delay will be posted on the same thread.
looperRunner(Looper, Runner) - Static method in class com.github.dm.jrt.android.runner.Runners
Returns a runner employing the specified looper.
Note that, based on the choice of the runner to be used when the invocation runs in the looper thread, waiting for results in the very same thread may result in a deadlock exception.

M

MainRunner - Class in com.github.dm.jrt.android.runner
Implementation of a runner employing the main UI thread looper.
Note that, when the invocation runs in the main thread, the executions with a delay of 0 will be performed synchronously, while the ones with a positive delay will be posted on the UI thread.
MainRunner() - Constructor for class com.github.dm.jrt.android.runner.MainRunner
Constructor.
mainRunner() - Static method in class com.github.dm.jrt.android.runner.Runners
Returns the shared runner employing the main thread looper.
Note that, when the invocation runs in the main thread, the executions with a delay of 0 will be performed synchronously, while the ones with a positive delay will be posted on the main thread.
mapParcelable(InputChannel<? super Channels.ParcelableSelectable<DATA>>, Collection<Integer>) - Static method in class com.github.dm.jrt.android.v11.core.Channels
Returns a map of input channels accepting the input data identified by the specified indexes.
mapParcelable(InputChannel<? super Channels.ParcelableSelectable<DATA>>, int...) - Static method in class com.github.dm.jrt.android.v11.core.Channels
Returns a map of input channels accepting the input data identified by the specified indexes.
mapParcelable(int, int, InputChannel<? super Channels.ParcelableSelectable<DATA>>) - Static method in class com.github.dm.jrt.android.v11.core.Channels
Returns a map of input channels accepting the input data identified by the specified indexes.
mapParcelable(InputChannel<? super Channels.ParcelableSelectable<DATA>>, Collection<Integer>) - Static method in class com.github.dm.jrt.android.v4.core.Channels
Returns a map of input channels accepting the input data identified by the specified indexes.
mapParcelable(InputChannel<? super Channels.ParcelableSelectable<DATA>>, int...) - Static method in class com.github.dm.jrt.android.v4.core.Channels
Returns a map of input channels accepting the input data identified by the specified indexes.
mapParcelable(int, int, InputChannel<? super Channels.ParcelableSelectable<DATA>>) - Static method in class com.github.dm.jrt.android.v4.core.Channels
Returns a map of input channels accepting the input data identified by the specified indexes.
mergeParcelable(int, List<? extends OutputChannel<? extends OUT>>) - Static method in class com.github.dm.jrt.android.core.Channels
Merges the specified channels into a selectable one.
mergeParcelable(int, OutputChannel<?>...) - Static method in class com.github.dm.jrt.android.core.Channels
Merges the specified channels into a selectable one.
mergeParcelable(List<? extends OutputChannel<? extends OUT>>) - Static method in class com.github.dm.jrt.android.core.Channels
Merges the specified channels into a selectable one.
mergeParcelable(OutputChannel<?>...) - Static method in class com.github.dm.jrt.android.core.Channels
Merges the specified channels into a selectable one.
mergeParcelable(SparseArray<? extends OutputChannel<? extends OUT>>) - Static method in class com.github.dm.jrt.android.v11.core.Channels
Merges the specified channels into a selectable one.
mergeParcelable(SparseArrayCompat<? extends OutputChannel<? extends OUT>>) - Static method in class com.github.dm.jrt.android.v4.core.Channels
Merges the specified channels into a selectable one.
method(String, Class<?>...) - Method in interface com.github.dm.jrt.android.builder.LoaderObjectRoutineBuilder
Returns a routine used to call the specified method.
method(Method) - Method in interface com.github.dm.jrt.android.builder.LoaderObjectRoutineBuilder
Returns a routine used to call the specified method.
MissingInvocationException - Exception in com.github.dm.jrt.android.invocation
Exception indicating that a routine invocation with a specified ID is not running.
MissingInvocationException(int) - Constructor for exception com.github.dm.jrt.android.invocation.MissingInvocationException
Constructor.
MSG_ABORT - Static variable in class com.github.dm.jrt.android.service.RoutineService
 
MSG_COMPLETE - Static variable in class com.github.dm.jrt.android.service.RoutineService
 
MSG_DATA - Static variable in class com.github.dm.jrt.android.service.RoutineService
 
MSG_INIT - Static variable in class com.github.dm.jrt.android.service.RoutineService
 
myRunner() - Static method in class com.github.dm.jrt.android.runner.Runners
Returns a runner employing the calling thread looper.

N

newInvocation() - Method in class com.github.dm.jrt.android.invocation.ContextInvocationFactory
Creates and return a new context invocation instance.
newInvocation() - Method in class com.github.dm.jrt.android.invocation.DecoratingContextInvocationFactory
 
newInvocation() - Method in class com.github.dm.jrt.android.invocation.FilterContextInvocation
 
newInvocation() - Method in class com.github.dm.jrt.android.invocation.ProcedureContextInvocation
 

O

on(ServiceContext, ContextInvocationTarget) - Static method in class com.github.dm.jrt.android.core.JRoutine
Returns a builder of routines running in a service based on the specified context, wrapping the specified target object.
In order to customize the object creation, the caller must employ an implementation of a FactoryContext as the invocation service.
on(ServiceContext, InvocationFactoryTarget<IN, OUT>) - Static method in class com.github.dm.jrt.android.core.JRoutine
Returns a builder of routines running in a service based on the specified context.
In order to customize the invocation creation, the caller must override the method getInvocationFactory(InvocationFactoryTarget) of the routine service.
on(LoaderContext) - Static method in class com.github.dm.jrt.android.v11.core.JRoutine
Returns a builder of an output channel bound to the loader identified by the ID specified in the loader configuration.
If no invocation with the specified ID is running at the time of the channel creation, the output will be aborted with a MissingInvocationException.
Note that the built routine results will be always dispatched on the configured looper thread, thus waiting for the outputs immediately after its invocation may result in a deadlock.
on(LoaderContext, ContextInvocationFactory<IN, OUT>) - Static method in class com.github.dm.jrt.android.v11.core.JRoutine
Returns a builder of routines bound to the specified context.
In order to prevent undesired leaks, the class of the specified factory must be static, and should never be a platform component (like Activity, Fragment, etc.).
Note that the built routine results will be always dispatched on the configured looper thread, thus waiting for the outputs immediately after its invocation may result in a deadlock.
on(LoaderContext, ContextInvocationTarget) - Static method in class com.github.dm.jrt.android.v11.core.JRoutine
Returns a builder of routines bound to the specified context, wrapping the specified target object.
In order to customize the object creation, the caller must employ an implementation of a FactoryContext as the application context.
Note that the built routine results will be always dispatched on the configured looper thread, thus waiting for the outputs immediately after its invocation may result in a deadlock.
on(LoaderContext) - Static method in class com.github.dm.jrt.android.v4.core.JRoutine
Returns a builder of an output channel bound to the loader identified by the ID specified in the loader configuration.
If no invocation with the specified ID is running at the time of the channel creation, the output will be aborted with a MissingInvocationException.
Note that the built routine results will be always dispatched on the configured looper thread, thus waiting for the outputs immediately after its invocation may result in a deadlock.
on(LoaderContext, ContextInvocationFactory<IN, OUT>) - Static method in class com.github.dm.jrt.android.v4.core.JRoutine
Returns a builder of routines bound to the specified context.
In order to prevent undesired leaks, the class of the specified factory must be static, and should never be a platform component (like Activity, Fragment, etc.).
Note that the built routine results will be always dispatched on the configured looper thread, thus waiting for the outputs immediately after its invocation may result in a deadlock.
on(LoaderContext, ContextInvocationTarget) - Static method in class com.github.dm.jrt.android.v4.core.JRoutine
Returns a builder of routines bound to the specified context, wrapping the specified target object.
In order to customize the object creation, the caller must employ an implementation of a FactoryContext as the application context.
Note that the built routine results will be always dispatched on the configured looper thread, thus waiting for the outputs immediately after its invocation may result in a deadlock.
onAbort(RoutineException) - Method in class com.github.dm.jrt.android.invocation.ContextInvocationDecorator
 
onAbort(RoutineException) - Method in class com.github.dm.jrt.android.invocation.ContextInvocationWrapper
 
onAbort(RoutineException) - Method in class com.github.dm.jrt.android.invocation.FilterContextInvocation
 
onAbort(RoutineException) - Method in class com.github.dm.jrt.android.invocation.ProcedureContextInvocation
 
onBind(Intent) - Method in class com.github.dm.jrt.android.service.RoutineService
 
onContext(Context) - Method in interface com.github.dm.jrt.android.invocation.ContextInvocation
Called right after the instantiation to specify the invocation context.
onContext(Context) - Method in class com.github.dm.jrt.android.invocation.ContextInvocationDecorator
 
onContext(Context) - Method in class com.github.dm.jrt.android.invocation.ContextInvocationWrapper
 
onContext(Context) - Method in class com.github.dm.jrt.android.invocation.DelegatingContextInvocation
 
onContext(Context) - Method in class com.github.dm.jrt.android.invocation.FilterContextInvocation
 
onContext(Context) - Method in class com.github.dm.jrt.android.invocation.FunctionContextInvocation
 
onContext(Context) - Method in class com.github.dm.jrt.android.invocation.ProcedureContextInvocation
 
onContext(Context) - Method in class com.github.dm.jrt.android.invocation.TemplateContextInvocation
 
onDestroy() - Method in class com.github.dm.jrt.android.invocation.ContextInvocationDecorator
 
onDestroy() - Method in class com.github.dm.jrt.android.invocation.ContextInvocationWrapper
 
onDestroy() - Method in class com.github.dm.jrt.android.invocation.FilterContextInvocation
 
onDestroy() - Method in class com.github.dm.jrt.android.invocation.ProcedureContextInvocation
 
onDestroy() - Method in class com.github.dm.jrt.android.service.RoutineService
 
onInitialize() - Method in class com.github.dm.jrt.android.invocation.ContextInvocationDecorator
 
onInitialize() - Method in class com.github.dm.jrt.android.invocation.ContextInvocationWrapper
 
onInitialize() - Method in class com.github.dm.jrt.android.invocation.FilterContextInvocation
 
onInitialize() - Method in class com.github.dm.jrt.android.invocation.ProcedureContextInvocation
 
onInput(IN, ResultChannel<OUT>) - Method in class com.github.dm.jrt.android.invocation.ContextInvocationDecorator
 
onInput(IN, ResultChannel<OUT>) - Method in class com.github.dm.jrt.android.invocation.ContextInvocationWrapper
 
onInput(DATA, ResultChannel<DATA>) - Method in class com.github.dm.jrt.android.invocation.PassingContextInvocation
 
onInput(Void, ResultChannel<OUT>) - Method in class com.github.dm.jrt.android.invocation.ProcedureContextInvocation
 
onResult(ResultChannel<OUT>) - Method in class com.github.dm.jrt.android.invocation.ContextInvocationDecorator
 
onResult(ResultChannel<OUT>) - Method in class com.github.dm.jrt.android.invocation.ContextInvocationWrapper
 
onResult(ResultChannel<OUT>) - Method in class com.github.dm.jrt.android.invocation.FilterContextInvocation
 
onTerminate() - Method in class com.github.dm.jrt.android.invocation.ContextInvocationDecorator
 
onTerminate() - Method in class com.github.dm.jrt.android.invocation.ContextInvocationWrapper
 
onTerminate() - Method in class com.github.dm.jrt.android.invocation.FilterContextInvocation
 
onTerminate() - Method in class com.github.dm.jrt.android.invocation.ProcedureContextInvocation
 

P

ParcelableByteChannel - Class in com.github.dm.jrt.android.core
Utility class focused on the optimization of the transfer of byte chunks through routine channels.
The generated buffers implement the parcelable interface.
Note that the streams used to write into and read from buffers should be properly closed as the Java best practices suggest.
ParcelableByteChannel.ParcelableByteBuffer - Class in com.github.dm.jrt.android.core
Parcelable buffer of bytes.
PassingContextInvocation<DATA> - Class in com.github.dm.jrt.android.invocation
Implementation of an invocation simply passing on the input data.
passTo(InputChannel<? super ParcelableByteChannel.ParcelableByteBuffer>) - Method in class com.github.dm.jrt.android.core.ParcelableByteChannel
Returns the output stream used to write bytes into the specified channel.
Note that, if the method is called more than one time, passing the same input channel, it will return the same output stream.
ProcedureContextInvocation<OUT> - Class in com.github.dm.jrt.android.invocation
Abstract implementation of an invocation performing a procedure (that is, no input is required) eventually returning output data.
ProcedureContextInvocation() - Constructor for class com.github.dm.jrt.android.invocation.ProcedureContextInvocation
 
proxies() - Method in interface com.github.dm.jrt.android.builder.LoaderObjectRoutineBuilder
proxies() - Method in interface com.github.dm.jrt.android.builder.ServiceObjectRoutineBuilder
purge(Iterable<?>) - Method in interface com.github.dm.jrt.android.builder.LoaderChannelBuilder
Makes the builder destroy the cached invocation instances with the specified inputs.
purge() - Method in interface com.github.dm.jrt.android.builder.LoaderChannelBuilder
Makes the builder destroy all the cached invocation instances.
purge(Object) - Method in interface com.github.dm.jrt.android.builder.LoaderChannelBuilder
Makes the builder destroy the cached invocation instances with the specified input.
purge(Object...) - Method in interface com.github.dm.jrt.android.builder.LoaderChannelBuilder
Makes the builder destroy the cached invocation instances with the specified inputs.
purge(IN) - Method in interface com.github.dm.jrt.android.routine.LoaderRoutine
Makes the builder destroy the cached invocation instances with the specified input.
purge(IN...) - Method in interface com.github.dm.jrt.android.routine.LoaderRoutine
Makes the builder destroy the cached invocation instances with the specified inputs.
purge(Iterable<? extends IN>) - Method in interface com.github.dm.jrt.android.routine.LoaderRoutine
Makes the builder destroy the cached invocation instances with the specified inputs.
putAsyncInvocation(Bundle, String, InvocationFactoryTarget<?, ?>, InvocationConfiguration, Class<? extends Runner>, Class<? extends Log>) - Static method in class com.github.dm.jrt.android.service.RoutineService
Puts the specified asynchronous invocation info into the passed bundle.
putError(Bundle, String, Throwable) - Static method in class com.github.dm.jrt.android.service.RoutineService
Puts the specified abort exception into the passed bundle.
putInvocationId(Bundle, String) - Static method in class com.github.dm.jrt.android.service.RoutineService
Puts the specified invocation ID into the passed bundle.
putParallelInvocation(Bundle, String, InvocationFactoryTarget<?, ?>, InvocationConfiguration, Class<? extends Runner>, Class<? extends Log>) - Static method in class com.github.dm.jrt.android.service.RoutineService
Puts the specified parallel invocation info into the passed bundle.
putValue(Bundle, String, Object) - Static method in class com.github.dm.jrt.android.service.RoutineService
Puts the specified value object into the passed bundle.

R

RoutineService - Class in com.github.dm.jrt.android.service
Basic implementation of a service running routine invocations.
RoutineService() - Constructor for class com.github.dm.jrt.android.service.RoutineService
Constructor.
RoutineService(Log, Log.LogLevel) - Constructor for class com.github.dm.jrt.android.service.RoutineService
Constructor.
Runners - Class in com.github.dm.jrt.android.runner
Utility class for creating and sharing runner instances, employing specific Android classes.
Runners() - Constructor for class com.github.dm.jrt.android.runner.Runners
 

S

selectParcelable(InputChannel<? super Channels.ParcelableSelectable<DATA>>, int) - Static method in class com.github.dm.jrt.android.core.Channels
Returns a new channel transforming the input data into selectable ones.
Note that the returned channel must be closed in order to ensure the completion of the invocation lifecycle.
service() - Method in interface com.github.dm.jrt.android.builder.ServiceConfigurableBuilder
Gets the service configuration builder related to the routine builder instance.
The configuration options not supported by the routine builder implementation might be ignored.
ServiceConfigurableBuilder<TYPE> - Interface in com.github.dm.jrt.android.builder
Interface defining a configurable builder of service routines.
ServiceConfiguration - Class in com.github.dm.jrt.android.builder
Class storing the service configuration.
ServiceConfiguration.Builder<TYPE> - Class in com.github.dm.jrt.android.builder
Builder of service configurations.
ServiceConfiguration.Builder(ServiceConfiguration.Configurable<? extends TYPE>) - Constructor for class com.github.dm.jrt.android.builder.ServiceConfiguration.Builder
Constructor.
ServiceConfiguration.Builder(ServiceConfiguration.Configurable<? extends TYPE>, ServiceConfiguration) - Constructor for class com.github.dm.jrt.android.builder.ServiceConfiguration.Builder
Constructor.
ServiceConfiguration.Configurable<TYPE> - Interface in com.github.dm.jrt.android.builder
Interface defining a configurable object.
ServiceContext - Class in com.github.dm.jrt.android.core
Class representing an Android service context.
ServiceDisconnectedException - Exception in com.github.dm.jrt.android.service
Exception indicating that the routine service has unexpectedly disconnected.
ServiceDisconnectedException(ComponentName) - Constructor for exception com.github.dm.jrt.android.service.ServiceDisconnectedException
Constructor.
serviceFrom(Context) - Static method in class com.github.dm.jrt.android.core.ServiceContext
Returns a context based on the specified instance.
The default RoutineService class will be employed.
serviceFrom(Context, Class<? extends RoutineService>) - Static method in class com.github.dm.jrt.android.core.ServiceContext
Returns a context based on the specified instance, employing a service of the specified type.
serviceFrom(Context, Intent) - Static method in class com.github.dm.jrt.android.core.ServiceContext
Returns a context based on the specified instance, employing the specified intent to start the service.
ServiceObjectRoutineBuilder - Interface in com.github.dm.jrt.android.builder
Interface defining a builder of routines wrapping an object methods.
ServiceRoutineBuilder<IN,OUT> - Interface in com.github.dm.jrt.android.builder
Interface defining a builder of routine objects executed in a dedicated service.
Note that the configuration of the maximum number of concurrent invocations will not be shared among synchronous and asynchronous invocations, but the invocations created inside the service and the synchronous will respect the same limit separately.
Note also that it is responsibility of the caller to ensure that the started invocations have completed or have been aborted when the relative context (for example the activity) is destroyed, so to avoid the leak of IPC connections.
set() - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Sets the configuration and returns the configurable object.
set() - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration.Builder
Sets the configuration and returns the configurable object.
setConfiguration(LoaderConfiguration) - Method in interface com.github.dm.jrt.android.builder.LoaderConfiguration.Configurable
Sets the specified configuration and returns the configurable instance.
setConfiguration(ServiceConfiguration) - Method in interface com.github.dm.jrt.android.builder.ServiceConfiguration.Configurable
Sets the specified configuration and returns the configurable instance.
StaleResultsException - Exception in com.github.dm.jrt.android.invocation
Exception indicating a clash of routine invocations caused by stale results.
StaleResultsException(int) - Constructor for exception com.github.dm.jrt.android.invocation.StaleResultsException
Constructor.
StaleTime - Annotation Type in com.github.dm.jrt.android.annotation
This annotation is used to decorate methods that are to be invoked in an asynchronous way.
Note that the piece of code inside such methods will be automatically protected so to avoid concurrency issues.

T

targetClass(Class<?>) - Static method in class com.github.dm.jrt.android.core.ContextInvocationTarget
Returns a target based on the specified class.
targetInvocation(Class<? extends ContextInvocation<IN, OUT>>) - Static method in class com.github.dm.jrt.android.core.InvocationFactoryTarget
Returns a target based on the specified invocation class.
targetInvocation(Class<? extends ContextInvocation<IN, OUT>>, Object...) - Static method in class com.github.dm.jrt.android.core.InvocationFactoryTarget
Returns a target based on the specified invocation class.
targetInvocation(ClassToken<? extends ContextInvocation<IN, OUT>>) - Static method in class com.github.dm.jrt.android.core.InvocationFactoryTarget
Returns a target based on the specified invocation token.
targetInvocation(ClassToken<? extends ContextInvocation<IN, OUT>>, Object...) - Static method in class com.github.dm.jrt.android.core.InvocationFactoryTarget
Returns a target based on the specified invocation token.
targetInvocation(ContextInvocation<IN, OUT>) - Static method in class com.github.dm.jrt.android.core.InvocationFactoryTarget
Returns a target based on the specified invocation.
targetInvocation(ContextInvocation<IN, OUT>, Object...) - Static method in class com.github.dm.jrt.android.core.InvocationFactoryTarget
Returns a target based on the specified invocation.
targetObject(Class<?>) - Static method in class com.github.dm.jrt.android.core.ContextInvocationTarget
Returns a target based on the specified instance.
No argument will be passed to the object factory.
targetObject(Class<?>, Object...) - Static method in class com.github.dm.jrt.android.core.ContextInvocationTarget
Returns a target based on the specified instance.
taskRunner() - Static method in class com.github.dm.jrt.android.runner.Runners
Returns a runner employing async tasks.
taskRunner(Executor) - Static method in class com.github.dm.jrt.android.runner.Runners
Returns a runner employing async tasks running on the specified executor.
TemplateContextInvocation<IN,OUT> - Class in com.github.dm.jrt.android.invocation
Empty abstract implementation of a context invocation.
TemplateContextInvocation() - Constructor for class com.github.dm.jrt.android.invocation.TemplateContextInvocation
 
toSelectable(OutputChannel<? extends OUT>, int) - Static method in class com.github.dm.jrt.android.core.Channels
Returns a new channel making the specified one selectable.
Each output will be passed along unchanged.
toString() - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration
 
toString() - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration
 

V

valueOf(String) - Static method in enum com.github.dm.jrt.android.builder.LoaderConfiguration.CacheStrategyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.dm.jrt.android.builder.LoaderConfiguration.ClashResolutionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.dm.jrt.android.builder.LoaderConfiguration.CacheStrategyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.dm.jrt.android.builder.LoaderConfiguration.ClashResolutionType
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(LoaderConfiguration) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Applies the specified configuration to this builder.
with(ServiceConfiguration) - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration.Builder
Applies the specified configuration to this builder.
withCacheStrategy(LoaderConfiguration.CacheStrategyType) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Tells the builder how to cache the invocation result after its completion.
withClashResolution(LoaderConfiguration.ClashResolutionType) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Tells the builder how to resolve clashes of invocations with different inputs.
withId(int) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Tells the builder to identify the loader with the specified ID.
withInputClashResolution(LoaderConfiguration.ClashResolutionType) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Tells the builder how to resolve clashes of invocations with same inputs.
withLogClass(Class<? extends Log>) - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration.Builder
Sets the log class.
withResultLooper(Looper) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Sets the looper on which the results from the loader are dispatched.
withResultLooper(Looper) - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration.Builder
Sets the looper on which the results from the service are dispatched.
withResultStaleTime(TimeDuration) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Sets the time after which results are considered to be stale.
withResultStaleTime(long, TimeUnit) - Method in class com.github.dm.jrt.android.builder.LoaderConfiguration.Builder
Sets the time after which results are considered to be stale.
withRunnerClass(Class<? extends Runner>) - Method in class com.github.dm.jrt.android.builder.ServiceConfiguration.Builder
Sets the runner class.
writeToParcel(Parcel, int) - Method in class com.github.dm.jrt.android.core.Channels.ParcelableSelectable
 
writeToParcel(Parcel, int) - Method in class com.github.dm.jrt.android.core.ParcelableByteChannel.ParcelableByteBuffer
 
wrn(List<Object>, String, Throwable) - Method in class com.github.dm.jrt.android.log.AndroidLog
 
A B C D E F G H I J L M N O P R S T V W