- 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.
- 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
-
- 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.
- 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.
- 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.
- 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.
- 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.