Reaction Home
A C D E F G H I J L M N O R S T U 

A

addDeferrable(Deferrable<T, U>, boolean) - Method in interface com.zynaptic.reaction.Deferred
Attaches a deferrable object to the deferred event.
addDeferrable(Deferrable<T, U>) - Method in interface com.zynaptic.reaction.Deferred
Attaches a deferrable object to the deferred event.
addInputDeferred(Deferred<T>) - Method in interface com.zynaptic.reaction.DeferredConcentrator
Adds an input deferred event object to the concentrator list.
addInputDeferred(Deferred<T>) - Method in interface com.zynaptic.reaction.DeferredSplitter
Attaches the input deferred event object.

C

callback(T) - Method in interface com.zynaptic.reaction.Deferred
Issues a deferred callback.
callDeferred(T) - Method in class com.zynaptic.reaction.core.ReactorCore
 
callDeferred(T) - Method in interface com.zynaptic.reaction.Reactor
Creates a new deferred event object and then issues a callback on it using the supplied callback data.
cancelThread(Threadable<?, ?>) - Method in class com.zynaptic.reaction.core.ReactorCore
 
cancelThread(Threadable<?, ?>) - Method in interface com.zynaptic.reaction.Reactor
Cancels a currently executing threadable task.
cancelTimeout() - Method in interface com.zynaptic.reaction.Deferred
Cancels the timeout associated with the deferred event.
cancelTimer(Timeable<?>) - Method in class com.zynaptic.reaction.core.ReactorCore
 
cancelTimer(Timeable<?>) - Method in interface com.zynaptic.reaction.Reactor
Cancels the timer associated with a given timeable object.
com.zynaptic.reaction - package com.zynaptic.reaction
 
com.zynaptic.reaction.osgi - package com.zynaptic.reaction.osgi
 
com.zynaptic.reaction.util - package com.zynaptic.reaction.util
 
com.zynaptic.stash - package com.zynaptic.stash
 

D

defer() - Method in interface com.zynaptic.reaction.Deferred
Performs a synchronous wait for the deferred callback results.
Deferrable<T,U> - Interface in com.zynaptic.reaction
Defines the deferrable callback interface.
Deferred<T> - Interface in com.zynaptic.reaction
Defines the deferred event interface.
DeferredConcentrator<T> - Interface in com.zynaptic.reaction
Defines a concentrator for deferred events.
DeferredContextException - Exception in com.zynaptic.reaction
Indicates an attempt to make an invalid call to the Deferred.defer() method.
DeferredContextException(String) - Constructor for exception com.zynaptic.reaction.DeferredContextException
Constructs a new deferred context exception.
DeferredSplitter<T> - Interface in com.zynaptic.reaction
Defines a splitter for deferred event callback chains.
DeferredTerminationException - Exception in com.zynaptic.reaction
Indicates that a deferred callback chain is already terminated.
DeferredTerminationException(String) - Constructor for exception com.zynaptic.reaction.DeferredTerminationException
Constructs a new deferred termination exception.
DeferredTimedOutException - Exception in com.zynaptic.reaction
Indicates that a deferred event has timed out.
DeferredTimedOutException(String) - Constructor for exception com.zynaptic.reaction.DeferredTimedOutException
Constructs a new deferred timed out exception.
DeferredTriggeredException - Exception in com.zynaptic.reaction
Indicates an invalid attempt to trigger a deferred event object.
DeferredTriggeredException(String) - Constructor for exception com.zynaptic.reaction.DeferredTriggeredException
Constructs a new deferred triggered exception.
discard() - Method in interface com.zynaptic.reaction.Deferred
Discards the deferred event.

E

errback(Exception) - Method in interface com.zynaptic.reaction.Deferred
Issues an error callback.

F

failDeferred(Exception) - Method in class com.zynaptic.reaction.core.ReactorCore
 
failDeferred(Exception) - Method in interface com.zynaptic.reaction.Reactor
Creates a new deferred event object and then issues an error callback on it using the supplied exception condition.
FixedUpMonotonicClock - Class in com.zynaptic.reaction.util
Implements a monotonic clock source derived from the standard Java wallclock.
FixedUpMonotonicClock() - Constructor for class com.zynaptic.reaction.util.FixedUpMonotonicClock
 

G

getCacheTimeout() - Method in interface com.zynaptic.stash.StashService
Accesses the current cache timeout period which is in use by the stash time series entries.
getCurrentValue() - Method in interface com.zynaptic.stash.StashObjectEntry
Accesses the current stored value for the stash object entry.
getCurrentValue() - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Accesses the data point in the time series which immediately precedes the current system time.
getDataBlockPeriod() - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Accesses the minimum data block period which is used by the stash time series entry.
getDataBlockSize() - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Accesses the minimum data block size which is used by the stash time series entry.
getDataPointSet() - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Gets the full set of time series data points for this time series entry.
getDataPointSet(long, long) - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Gets a set of time series data points over a given timestamp range.
getDataPointValue(long) - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Gets the time series data point associated with a given timestamp.
getDefaultValue() - Method in interface com.zynaptic.stash.StashObjectEntry
Accesses the default value for the stash object entry.
getDefaultValue() - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Accesses the default value for the stash time series entry.
getLogger(String) - Method in class com.zynaptic.reaction.core.ReactorCore
 
getLogger(String, String) - Method in class com.zynaptic.reaction.core.ReactorCore
 
getLogger(String, String) - Method in class com.zynaptic.reaction.osgi.ReactorLogOsgiOptional
 
getLogger(String) - Method in interface com.zynaptic.reaction.Reactor
Gets the runtime message logger which is associated with the specified logger ID.
getLogger(String, String) - Method in interface com.zynaptic.reaction.Reactor
Gets the runtime message logger which is associated with the specified logger ID.
getLogger(String, String) - Method in class com.zynaptic.reaction.util.ReactorLogJavaStandard
 
getLogger(String, String) - Method in class com.zynaptic.reaction.util.ReactorLogSystemOut
 
getLogger(String, String) - Method in interface com.zynaptic.reaction.util.ReactorLogTarget
Gets the runtime message logger which is associated with the specified logger ID.
getLoggerId() - Method in interface com.zynaptic.reaction.Logger
Gets the unique logging identifier associated with a given logger instance.
getLogLevel() - Method in interface com.zynaptic.reaction.Logger
Gets the current logging level associated with a given logger instance.
getMsTime() - Method in class com.zynaptic.reaction.util.FixedUpMonotonicClock
 
getMsTime() - Method in class com.zynaptic.reaction.util.JavaMonotonicClock
 
getMsTime() - Method in interface com.zynaptic.reaction.util.MonotonicClockSource
Gets the elapsed time since the monotonic clock source was initialised.
getMsTime() - Method in class com.zynaptic.reaction.util.NativeMonotonicClock
 
getOutputDeferred() - Method in interface com.zynaptic.reaction.DeferredConcentrator
Accesses the output deferred event object for the concentrator list.
getOutputDeferred() - Method in interface com.zynaptic.reaction.DeferredSplitter
Obtains a handle on a unique output deferred event object.
getReactor() - Static method in class com.zynaptic.reaction.core.ReactorCore
Accesses the reactor user interface.
getReactorControl() - Static method in class com.zynaptic.reaction.core.ReactorCore
Accesses the reactor control interface.
getReactorShutdownSignal() - Method in class com.zynaptic.reaction.core.ReactorCore
 
getReactorShutdownSignal() - Method in interface com.zynaptic.reaction.Reactor
Gets a handle on the reactor shutdown signal.
getStashId() - Method in interface com.zynaptic.stash.StashObjectEntry
Accesses the unique stash identifier which is associated with the stash object entry.
getStashId() - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Accesses the unique stash identifier which is associated with the stash time series entry.
getStashName() - Method in interface com.zynaptic.stash.StashObjectEntry
Accesses the human readable stash entry name which is associated with the stash object entry.
getStashName() - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Accesses the human readable stash entry name which is associated with the stash time series entry.
getStashObjectEntry(String, Class<T>) - Method in interface com.zynaptic.stash.StashService
Accesses the public interface for manipulating an individual raw Java object in the persistent stash storage.
getStashObjectEntry(String, Class<T>, ClassLoader) - Method in interface com.zynaptic.stash.StashService
Accesses the public interface for manipulating an individual raw Java object in the persistent stash storage.
getStashService(String) - Method in interface com.zynaptic.stash.StashFactory
Gets the currently active stash service interface for the stash resource located at the specified URI.
getStashTimeSeriesEntry(String, Class<T>) - Method in interface com.zynaptic.stash.StashService
Accesses the public interface for for manipulating time series data in the persistent stash storage.
getStashTimeSeriesEntry(String, Class<T>, ClassLoader) - Method in interface com.zynaptic.stash.StashService
Accesses the public interface for for manipulating time series data in the persistent stash storage.
getStashUri() - Method in interface com.zynaptic.stash.StashService
Accesses the URI of the stash resource which is accessed via the stash service object.
getUptime() - Method in class com.zynaptic.reaction.core.ReactorCore
 
getUptime() - Method in interface com.zynaptic.reaction.Reactor
Gets the elapsed time since the reactor was started.

H

haltStashService(String) - Method in interface com.zynaptic.stash.StashFactory
Halts the currently active stash service associated with the stash resource located at a given URI.
hasStashId(String) - Method in interface com.zynaptic.stash.StashService
Determines whether a given stash ID has been registered with the stash.

I

init() - Method in class com.zynaptic.reaction.util.FixedUpMonotonicClock
 
init() - Method in class com.zynaptic.reaction.util.JavaMonotonicClock
 
init() - Method in interface com.zynaptic.reaction.util.MonotonicClockSource
Initialises the monotonic clock source.
init() - Method in class com.zynaptic.reaction.util.NativeMonotonicClock
 
initStashService(String) - Method in interface com.zynaptic.stash.StashFactory
Initialises a stash service for the stash resource located at a given URI.
invalidateStashId(String) - Method in interface com.zynaptic.stash.StashService
Invalidates a stash identifier which is no longer to be used for accessing its associated stash entry.
InvalidStashIdException - Exception in com.zynaptic.stash
Indicates that an invalid stash identifier has been supplied when attempting to manipulate the stash contents.
InvalidStashIdException(String) - Constructor for exception com.zynaptic.stash.InvalidStashIdException
Provides default constructor for the invalid stash identifier exception object.

J

JavaMonotonicClock - Class in com.zynaptic.reaction.util
Implements a monotonic clock source using the standard Java monotonic clock.
JavaMonotonicClock() - Constructor for class com.zynaptic.reaction.util.JavaMonotonicClock
 
join() - Method in interface com.zynaptic.reaction.core.ReactorControl
Waits for the reactor thread to exit.
join() - Method in class com.zynaptic.reaction.core.ReactorCore
 

L

log(Level, String) - Method in interface com.zynaptic.reaction.Logger
Logs a message string at the specified severity level.
log(Level, String, Throwable) - Method in interface com.zynaptic.reaction.Logger
Logs message string and accompanying exception information at the specified severity level.
Logger - Interface in com.zynaptic.reaction
Provides a common logging interface which may be used by Reaction clients to perform runtime message logging to a common backend log service.

M

makeRestricted() - Method in interface com.zynaptic.reaction.Deferred
Convert the deferred interface to restricted capability.
makeRestricted() - Method in interface com.zynaptic.reaction.Signal
Convert the signal interface to restricted capability.
MonotonicClockSource - Interface in com.zynaptic.reaction.util
Specifies the interface to a generic monotonic clock source.

N

NativeMonotonicClock - Class in com.zynaptic.reaction.util
Provides the Java interface to a native monotonic clock source.
NativeMonotonicClock() - Constructor for class com.zynaptic.reaction.util.NativeMonotonicClock
 
newDeferred() - Method in class com.zynaptic.reaction.core.ReactorCore
 
newDeferred() - Method in interface com.zynaptic.reaction.Reactor
Creates a new deferred event object.
newDeferredConcentrator() - Method in class com.zynaptic.reaction.core.ReactorCore
 
newDeferredConcentrator() - Method in interface com.zynaptic.reaction.Reactor
Creates a new deferred callback concentrator object.
newDeferredSplitter() - Method in class com.zynaptic.reaction.core.ReactorCore
 
newDeferredSplitter() - Method in interface com.zynaptic.reaction.Reactor
Creates a new deferred callback splitter object.
newSignal() - Method in class com.zynaptic.reaction.core.ReactorCore
 
newSignal() - Method in interface com.zynaptic.reaction.Reactor
Creates a new signal event object.

O

onCallback(Deferred<T>, T) - Method in interface com.zynaptic.reaction.Deferrable
This is the callback handler for deferrable objects.
onErrback(Deferred<T>, Exception) - Method in interface com.zynaptic.reaction.Deferrable
This is the error callback handler for deferrable objects.
onSignal(Signal<T>, T) - Method in interface com.zynaptic.reaction.Signalable
Receives a signal callback from the reactor.
onTick(T) - Method in interface com.zynaptic.reaction.Timeable
Receives a timed event callback from the reactor.

R

ReactionDefaultActivator - Class in com.zynaptic.reaction.osgi
Implements default bundle activation for the Zynaptic Reaction asynchronous programming framework.
ReactionDefaultActivator() - Constructor for class com.zynaptic.reaction.osgi.ReactionDefaultActivator
 
ReactionDefaultException - Exception in com.zynaptic.reaction
Defines the default exception class for the Reaction framework.
ReactionDefaultException(String) - Constructor for exception com.zynaptic.reaction.ReactionDefaultException
Constructs a new default exception.
ReactionRuntimeException - Exception in com.zynaptic.reaction
Defines the default runtime exception class for the Reaction framework.
ReactionRuntimeException(String) - Constructor for exception com.zynaptic.reaction.ReactionRuntimeException
Constructs a new default runtime exception.
Reactor - Interface in com.zynaptic.reaction
Defines the user API for accessing the reactor object.
ReactorControl - Interface in com.zynaptic.reaction.core
Defines the API for controlling the reactor service.
ReactorCore - Class in com.zynaptic.reaction.core
Implements the main reactor functionality.
ReactorLogJavaStandard - Class in com.zynaptic.reaction.util
Provides a basic log service which routes all log messages generated by the reactor to the standard Java log service.
ReactorLogJavaStandard() - Constructor for class com.zynaptic.reaction.util.ReactorLogJavaStandard
 
ReactorLogOsgiOptional - Class in com.zynaptic.reaction.osgi
Provides support for logging to an optional OSGi logging service.
ReactorLogOsgiOptional(BundleContext, ReactorLogTarget) - Constructor for class com.zynaptic.reaction.osgi.ReactorLogOsgiOptional
Implements default constructor for the optional OSGi logging service.
ReactorLogSystemOut - Class in com.zynaptic.reaction.util
Provides a basic log service which prints all log messages generated by the reactor to the console.
ReactorLogSystemOut() - Constructor for class com.zynaptic.reaction.util.ReactorLogSystemOut
 
ReactorLogTarget - Interface in com.zynaptic.reaction.util
Defines the API used by the Reaction package to access message loggers for a suitable log service.
ReactorNotRunningException - Exception in com.zynaptic.reaction
Indicates an attempt to access the reactor when it is not running.
ReactorNotRunningException(String) - Constructor for exception com.zynaptic.reaction.ReactorNotRunningException
Constructs a new reactor not running exception.
registerStashObjectId(String, String, T) - Method in interface com.zynaptic.stash.StashService
Registers a stash identifier which will be used to access a specific persistent object.
registerStashTimeSeriesId(String, String, T, int, int) - Method in interface com.zynaptic.stash.StashService
Registers a stash identifier which will be used to access a set of time series data, using a configurable data block size and period.
reportStashContents(PrintStream) - Method in interface com.zynaptic.stash.StashService
Reports the contents of the stash for informational purposes.
RestrictedCapabilityException - Exception in com.zynaptic.reaction
Indicates that an attempt has been made to access an interface method which has a restricted capability.
RestrictedCapabilityException(String) - Constructor for exception com.zynaptic.reaction.RestrictedCapabilityException
Constructs a new restricted capability exception.
run(T) - Method in interface com.zynaptic.reaction.Threadable
Runs a threadable task in the context of a new thread.
runThread(Threadable<T, U>, T) - Method in class com.zynaptic.reaction.core.ReactorCore
 
runThread(Threadable<T, U>, T, int) - Method in class com.zynaptic.reaction.core.ReactorCore
 
runThread(Threadable<T, U>, T) - Method in interface com.zynaptic.reaction.Reactor
Starts executing a threadable task in a new thread.
runThread(Threadable<T, U>, T, int) - Method in interface com.zynaptic.reaction.Reactor
Starts executing a time limited threadable task in a new thread.
runTimerOneShot(Timeable<T>, int, T) - Method in class com.zynaptic.reaction.core.ReactorCore
 
runTimerOneShot(Timeable<T>, int, T) - Method in interface com.zynaptic.reaction.Reactor
Starts a one-shot timer.
runTimerRepeating(Timeable<T>, int, int, T) - Method in class com.zynaptic.reaction.core.ReactorCore
 
runTimerRepeating(Timeable<T>, int, int, T) - Method in interface com.zynaptic.reaction.Reactor
Starts a repeating timer.

S

setCacheTimeout(int) - Method in interface com.zynaptic.stash.StashService
Specifies the approximate timeout period for which copies of the time series data blocks will be retained in local memory after use.
setCurrentValue(T) - Method in interface com.zynaptic.stash.StashObjectEntry
Assigns a new value to the stash object entry.
setCurrentValue(T) - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Adds a new data point value to the time series, using the current system time to generate the associated timestamp.
setDataPointValue(long, T) - Method in interface com.zynaptic.stash.StashTimeSeriesEntry
Adds a new data point value to the time series.
setLogLevel(Level) - Method in interface com.zynaptic.reaction.Logger
Sets the logging level to be used for a given logger instance.
setTimeout(int) - Method in interface com.zynaptic.reaction.Deferred
Sets the timeout associated with the deferred event.
Signal<T> - Interface in com.zynaptic.reaction
Defines the signal event interface.
signal(T) - Method in interface com.zynaptic.reaction.Signal
Sends a signal event notification.
Signalable<T> - Interface in com.zynaptic.reaction
Defines the interface to a signalable object.
SignalContextException - Exception in com.zynaptic.reaction
Indicates an attempt to make an invalid call from a signal callback.
SignalContextException(String) - Constructor for exception com.zynaptic.reaction.SignalContextException
Constructs a new signal call context exception.
signalFinalize(T) - Method in interface com.zynaptic.reaction.Signal
Sends a finalising signal event notification.
start(MonotonicClockSource, ReactorLogTarget) - Method in interface com.zynaptic.reaction.core.ReactorControl
Starts the reactor running.
start(MonotonicClockSource, ReactorLogTarget) - Method in class com.zynaptic.reaction.core.ReactorCore
 
start(BundleContext) - Method in class com.zynaptic.reaction.osgi.ReactionDefaultActivator
Implements the BundleActivator.start method which is used to start up the reactor on activation.
StashFactory - Interface in com.zynaptic.stash
Defines the factory interface used to create new stash service objects.
StashObjectEntry<T extends java.io.Serializable> - Interface in com.zynaptic.stash
Provides the interface for manipulating an individual raw Java object in the persistent stash storage.
StashService - Interface in com.zynaptic.stash
This interface provides access to a single persistent stash storage service.
StashTimeSeriesEntry<T extends java.io.Serializable> - Interface in com.zynaptic.stash
Provides the interface for manipulating time series data in the persistent stash storage.
stop() - Method in interface com.zynaptic.reaction.core.ReactorControl
Requests that the reactor stop running.
stop() - Method in class com.zynaptic.reaction.core.ReactorCore
 
stop(BundleContext) - Method in class com.zynaptic.reaction.osgi.ReactionDefaultActivator
Implements the BundleActivator.stop method which is used to stop the reactor on deactivation.
subscribe(Signalable<T>) - Method in interface com.zynaptic.reaction.Signal
Subscribes a new signalable object.
subscribe(Signalable<T>, int) - Method in interface com.zynaptic.reaction.Signal
Subscribes a new signalable object with a specific priority level.

T

terminate() - Method in interface com.zynaptic.reaction.Deferred
Terminates a deferred callback chain.
Threadable<T,U> - Interface in com.zynaptic.reaction
Defines the interface to a threadable task object.
ThreadableRunningException - Exception in com.zynaptic.reaction
Indicates that a threadable object is already executing.
ThreadableRunningException(String) - Constructor for exception com.zynaptic.reaction.ThreadableRunningException
Constructs a new threadable running exception.
Timeable<T> - Interface in com.zynaptic.reaction
Defines the interface to a timeable object.

U

unsubscribe(Signalable<T>) - Method in interface com.zynaptic.reaction.Signal
Unsubscribes a signalable object.
A C D E F G H I J L M N O R S T U 
Reaction Home