- accept(SessionListener) - Method in class org.cojen.dirmi.core.StandardSessionAcceptor
-
- accept() - Method in class org.cojen.dirmi.io.BasicChannelBrokerAcceptor
-
- accept(long, TimeUnit) - Method in class org.cojen.dirmi.io.BasicChannelBrokerAcceptor
-
- accept(Timer) - Method in class org.cojen.dirmi.io.BasicChannelBrokerAcceptor
-
- accept(ChannelBrokerAcceptor.Listener) - Method in class org.cojen.dirmi.io.BasicChannelBrokerAcceptor
-
- accept() - Method in interface org.cojen.dirmi.io.ChannelAcceptor
-
Blocks until a channel is accepted.
- accept(long, TimeUnit) - Method in interface org.cojen.dirmi.io.ChannelAcceptor
-
Blocks until a channel is accepted.
- accept(Timer) - Method in interface org.cojen.dirmi.io.ChannelAcceptor
-
Blocks until a channel is accepted.
- accept(ChannelAcceptor.Listener) - Method in interface org.cojen.dirmi.io.ChannelAcceptor
-
Register a listener which is asynchronously given an accepted channel.
- accept() - Method in interface org.cojen.dirmi.io.ChannelBrokerAcceptor
-
Blocks until a broker is accepted.
- accept(long, TimeUnit) - Method in interface org.cojen.dirmi.io.ChannelBrokerAcceptor
-
Blocks until a broker is accepted.
- accept(Timer) - Method in interface org.cojen.dirmi.io.ChannelBrokerAcceptor
-
Blocks until a broker is accepted.
- accept(ChannelBrokerAcceptor.Listener) - Method in interface org.cojen.dirmi.io.ChannelBrokerAcceptor
-
Register a listener which is asynchronously given an accepted broker.
- accept() - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- accept(long, TimeUnit) - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- accept(Timer) - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- accept(ChannelAcceptor.Listener) - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- accept(SessionListener) - Method in interface org.cojen.dirmi.SessionAcceptor
-
Returns immediately and calls listener asynchronously, but no more than
once.
- acceptAll(Object) - Method in class org.cojen.dirmi.core.StandardSessionAcceptor
-
- acceptAll(Object) - Method in interface org.cojen.dirmi.SessionAcceptor
-
Returns immediately and starts automatically accepting all sessions
asynchronously, sending a shared object.
- accepted(Channel) - Method in interface org.cojen.dirmi.io.ChannelAcceptor.Listener
-
Called as soon as a channel has been accepted.
- accepted(ChannelBroker) - Method in interface org.cojen.dirmi.io.ChannelBrokerAcceptor.Listener
-
Called as soon as a broker has been accepted.
- acceptFailed(IOException) - Method in interface org.cojen.dirmi.SessionListener
-
Called when session channel cannot be accepted.
- add(C) - Method in class org.cojen.dirmi.io.CloseableGroup
-
Add a Closeable member to the group, which is automatically closed when
group is closed.
- addCloseListener(SessionCloseListener) - Method in class org.cojen.dirmi.core.StandardSession
-
- addCloseListener(SessionCloseListener) - Method in interface org.cojen.dirmi.Session
-
Add a listener which receives notification when this session is
closed.
- addLocalTrace(Throwable) - Static method in class org.cojen.dirmi.util.ExceptionUtils
-
Augments the stack trace of the given exception with the local stack
trace.
- addPendingMethod(int, Method, Object, Object[], VersionedIdentifier) - Method in class org.cojen.dirmi.core.OrderedInvoker
-
- addPendingMethod(int, Method, Object, Object[], VersionedIdentifier, RemoteCompletion<V>) - Method in class org.cojen.dirmi.core.OrderedInvoker
-
Call if method returns a Future or Completion.
- ALL_OFF - Static variable in class org.cojen.dirmi.trace.TraceModes
-
All modes off, regardles off user Trace annotation
- ALL_ON - Static variable in class org.cojen.dirmi.trace.TraceModes
-
All modes on, regardles off user Trace annotation
- ALL_USER - Static variable in class org.cojen.dirmi.trace.TraceModes
-
All modes selected by user Trace annotation
- Asynchronous - Annotation Type in org.cojen.dirmi
-
Identify a method as being asynchronous, which does not imply
non-blocking.
- available() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- available() - Method in class org.cojen.dirmi.io.BufferedInputStream
-
- available() - Method in class org.cojen.dirmi.io.PipedInputStream
-
- awaitTermination(long, TimeUnit) - Method in class org.cojen.dirmi.util.ThreadPool
-
- Cache<K,V> - Class in org.cojen.dirmi.util
-
- Cache() - Constructor for class org.cojen.dirmi.util.Cache
-
Deprecated.
- CallMode - Enum in org.cojen.dirmi
-
- cancelTimeout() - Method in interface org.cojen.dirmi.Pipe
-
Cancels a timeout task which was started by
startTimeout or an initial timeout when using the
eventual calling mode.
- Channel - Interface in org.cojen.dirmi.io
-
Basic interface for a blocking bidirectional I/O channel.
- Channel.Listener - Interface in org.cojen.dirmi.io
-
- Channel.Recycler - Interface in org.cojen.dirmi.io
-
- ChannelAcceptor - Interface in org.cojen.dirmi.io
-
Asynchronously accepts channels from a remote endpoint.
- ChannelAcceptor.Listener - Interface in org.cojen.dirmi.io
-
Listener for acceping channels asynchronously.
- ChannelBroker - Interface in org.cojen.dirmi.io
-
Accepts and connects channels between the same endpoints.
- ChannelBrokerAcceptor - Interface in org.cojen.dirmi.io
-
- ChannelBrokerAcceptor.Listener - Interface in org.cojen.dirmi.io
-
Listener for acceping channels asynchronously.
- ChannelBrokerConnector - Interface in org.cojen.dirmi.io
-
- ChannelBrokerConnector.Listener - Interface in org.cojen.dirmi.io
-
Listener for acceping channels asynchronously.
- ChannelConnector - Interface in org.cojen.dirmi.io
-
Supports direct channel connection to a remote endpoint.
- ChannelConnector.Listener - Interface in org.cojen.dirmi.io
-
Listener for acceping channels asynchronously.
- checkClosed() - Method in class org.cojen.dirmi.io.CloseableGroup
-
- checkRemaining(Timer) - Static method in exception org.cojen.dirmi.RemoteTimeoutException
-
Checks remaining duration and throws a RemoteTimeoutException if none left.
- ClassResolver - Interface in org.cojen.dirmi
-
Defines a custom class loading scheme for a
Session.
- clear() - Method in class org.cojen.dirmi.util.Cache
-
Deprecated.
- close() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- close() - Method in class org.cojen.dirmi.core.InvocationOutputStream
-
- close() - Method in class org.cojen.dirmi.core.OrderedInvoker
-
- close() - Method in class org.cojen.dirmi.core.StandardSession
-
- close() - Method in class org.cojen.dirmi.core.StandardSessionAcceptor
-
- close() - Method in class org.cojen.dirmi.Environment
-
Closes all existing sessions and then shuts down the thread pool.
- close() - Method in class org.cojen.dirmi.io.BasicChannelBrokerAcceptor
-
- close() - Method in class org.cojen.dirmi.io.BasicChannelBrokerConnector
-
- close() - Method in class org.cojen.dirmi.io.BufferedInputStream
-
- close() - Method in class org.cojen.dirmi.io.BufferedOutputStream
-
- close() - Method in interface org.cojen.dirmi.io.Channel
-
Close channel, flushing any remaining output first.
- close() - Method in interface org.cojen.dirmi.io.ChannelAcceptor
-
Prevents new channels from being accepted and closes all accepted
channels.
- close() - Method in interface org.cojen.dirmi.io.ChannelBrokerAcceptor
-
Prevents new brokers from being accepted and closes all accepted
brokers.
- close() - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector
-
Prevents new brokers from being connected and closes all connected
brokers.
- close() - Method in interface org.cojen.dirmi.io.ChannelConnector
-
Prevents new channels from being connected and closes all connected
channels.
- close() - Method in class org.cojen.dirmi.io.CloseableGroup
-
Closes the group and all group members.
- close() - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- close() - Method in class org.cojen.dirmi.io.PipedInputStream
-
- close() - Method in class org.cojen.dirmi.io.PipedOutputStream
-
- close() - Method in class org.cojen.dirmi.io.RecyclableSocketChannelSelector
-
- close() - Method in interface org.cojen.dirmi.Pipe
-
Closes both the input and output of the pipe.
- close() - Method in interface org.cojen.dirmi.Session
-
Closes the session.
- close() - Method in interface org.cojen.dirmi.SessionAcceptor
-
Prevents new sessions from being accepted and closes all existing
sessions created from this acceptor.
- CloseableGroup<C extends Closeable> - Class in org.cojen.dirmi.io
-
Set of Closeable objects which can be closed as a unit.
- CloseableGroup() - Constructor for class org.cojen.dirmi.io.CloseableGroup
-
- closed(IOException) - Method in interface org.cojen.dirmi.io.Channel.Listener
-
Called if listener notification failed because channel is closed.
- closed(IOException) - Method in interface org.cojen.dirmi.io.ChannelAcceptor.Listener
-
Called when channel cannot be accepted because acceptor is
closed.
- closed(IOException) - Method in interface org.cojen.dirmi.io.ChannelBrokerAcceptor.Listener
-
Called when broker cannot be accepted because acceptor is closed.
- closed(IOException) - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector.Listener
-
Called when broker cannot be connected because connector is closed.
- closed(IOException) - Method in interface org.cojen.dirmi.io.ChannelConnector.Listener
-
Called when channel cannot be connected because connector is
closed.
- closed(Link, SessionCloseListener.Cause) - Method in interface org.cojen.dirmi.SessionCloseListener
-
Called at most once by a session, after it has closed.
- ClosedException - Exception in org.cojen.dirmi
-
Generic exception indicating that an I/O channel is closed.
- ClosedException() - Constructor for exception org.cojen.dirmi.ClosedException
-
- ClosedException(String) - Constructor for exception org.cojen.dirmi.ClosedException
-
- ClosedException(Throwable) - Constructor for exception org.cojen.dirmi.ClosedException
-
- ClosedException(String, Throwable) - Constructor for exception org.cojen.dirmi.ClosedException
-
- complete(V) - Method in interface org.cojen.dirmi.core.RemoteCompletion
-
- complete(V) - Static method in class org.cojen.dirmi.Response
-
Returns a Completion which always returns the given value.
- Completion<V> - Interface in org.cojen.dirmi
-
A
Completion is a
Future which also allows registration into
a completion queue.
- completion(Future<V>, RemoteCompletion<V>) - Method in interface org.cojen.dirmi.core.SkeletonSupport
-
Used by asynchronous methods which return a Future to write completion
response.
- connect() - Method in class org.cojen.dirmi.io.BasicChannelBrokerConnector
-
- connect(long, TimeUnit) - Method in class org.cojen.dirmi.io.BasicChannelBrokerConnector
-
- connect(Timer) - Method in class org.cojen.dirmi.io.BasicChannelBrokerConnector
-
- connect(ChannelBrokerConnector.Listener) - Method in class org.cojen.dirmi.io.BasicChannelBrokerConnector
-
- connect() - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector
-
Returns a new broker, possibly blocking until it has been established.
- connect(long, TimeUnit) - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector
-
Returns a new broker, possibly blocking until it has been established.
- connect(Timer) - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector
-
Returns a new broker, possibly blocking until it has been established.
- connect(ChannelBrokerConnector.Listener) - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector
-
Register a listener which is asynchronously given a connected broker.
- connect() - Method in interface org.cojen.dirmi.io.ChannelConnector
-
Returns a new channel, possibly blocking until it has been established.
- connect(long, TimeUnit) - Method in interface org.cojen.dirmi.io.ChannelConnector
-
Returns a new channel, possibly blocking until it has been established.
- connect(Timer) - Method in interface org.cojen.dirmi.io.ChannelConnector
-
Returns a new channel, possibly blocking until it has been established.
- connect(ChannelConnector.Listener) - Method in interface org.cojen.dirmi.io.ChannelConnector
-
Register a listener which is asynchronously given a connected channel.
- connect() - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- connect(long, TimeUnit) - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- connect(Timer) - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- connect(ChannelConnector.Listener) - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- connect() - Method in interface org.cojen.dirmi.SessionConnector
-
Returns a new session, blocking until it has been established.
- connect(long, TimeUnit) - Method in interface org.cojen.dirmi.SessionConnector
-
Returns a new session, blocking until it has been established.
- connected(ChannelBroker) - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector.Listener
-
Called as soon as a broker has been connected.
- connected(Channel) - Method in interface org.cojen.dirmi.io.ChannelConnector.Listener
-
Called as soon as a channel has been connected.
- ConnectException - Exception in org.cojen.dirmi
-
Thrown if a connection is refused to the remote host for a remote method call.
- ConnectException(String) - Constructor for exception org.cojen.dirmi.ConnectException
-
- ConnectException(String, Exception) - Constructor for exception org.cojen.dirmi.ConnectException
-
- copyKeysInto(Collection<? super K>) - Method in class org.cojen.dirmi.util.Cache
-
Deprecated.
- create(IOExecutor, ChannelBroker) - Static method in class org.cojen.dirmi.core.StandardSession
-
- create(IOExecutor, ChannelBroker, long, TimeUnit) - Static method in class org.cojen.dirmi.core.StandardSession
-
- create(IOExecutor, ChannelBroker, Timer) - Static method in class org.cojen.dirmi.core.StandardSession
-
- create(Environment, ChannelBrokerAcceptor) - Static method in class org.cojen.dirmi.core.StandardSessionAcceptor
-
- createBatchedRemote(Class<T>, InvocationChannel, Class<R>) - Method in interface org.cojen.dirmi.core.StubSupport
-
Used by batched methods which return a Remote object.
- createCompletion(Object) - Method in interface org.cojen.dirmi.core.StubSupport
-
Used by asynchronous methods which return a Future or Completion.
- createOrderedInvoker() - Method in interface org.cojen.dirmi.core.SkeletonSupport
-
Called if Skeleton needs to support ordered method invocation.
- createSkeleton(VersionedIdentifier, SkeletonSupport, R) - Method in interface org.cojen.dirmi.core.SkeletonFactory
-
- createStub(StubSupport) - Method in interface org.cojen.dirmi.core.StubFactory
-
- current() - Static method in class org.cojen.dirmi.SessionAccess
-
Returns the current thread-local session link.
- enterMethod(int) - Method in class org.cojen.dirmi.trace.NullHandler
-
- enterMethod(int, Object) - Method in class org.cojen.dirmi.trace.NullHandler
-
- enterMethod(int, Object...) - Method in class org.cojen.dirmi.trace.NullHandler
-
- enterMethod(int) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- enterMethod(int, Object) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- enterMethod(int, Object...) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- enterMethod(int) - Method in interface org.cojen.dirmi.trace.TraceHandler
-
Called by a traced method upon entry.
- enterMethod(int, Object) - Method in interface org.cojen.dirmi.trace.TraceHandler
-
Called by a traced method upon entry.
- enterMethod(int, Object...) - Method in interface org.cojen.dirmi.trace.TraceHandler
-
Called by a traced method upon entry.
- Environment - Class in org.cojen.dirmi
-
Sharable environment for connecting and accepting remote sessions.
- Environment() - Constructor for class org.cojen.dirmi.Environment
-
Construct environment which uses up to 1000 threads.
- Environment(int) - Constructor for class org.cojen.dirmi.Environment
-
Construct environment with the given maximum number of threads.
- Environment(int, String, Thread.UncaughtExceptionHandler) - Constructor for class org.cojen.dirmi.Environment
-
Construct environment with the given maximum number of threads, thread
name prefix, and uncaught exception handler.
- Environment(ScheduledExecutorService) - Constructor for class org.cojen.dirmi.Environment
-
Construct environment with a custom executor.
- equals(Object) - Method in interface org.cojen.dirmi.core.Stub
-
Stubs are considered equal if they have the same remote object identifier.
- equals(Object) - Method in class org.cojen.dirmi.trace.TraceModes
-
- equalTypes(RemoteParameter) - Method in interface org.cojen.dirmi.info.RemoteParameter
-
- established(Session) - Method in interface org.cojen.dirmi.SessionListener
-
Called at most once as soon as session has been established.
- establishFailed(IOException) - Method in interface org.cojen.dirmi.SessionListener
-
Called when session channel was accepted, but session was terminated
before establishment completed.
- examine(Class<? extends Remote>) - Static method in class org.cojen.dirmi.info.RemoteIntrospector
-
- exception(Throwable) - Method in interface org.cojen.dirmi.core.RemoteCompletion
-
- exception(Throwable) - Static method in class org.cojen.dirmi.Response
-
- ExceptionUtils - Class in org.cojen.dirmi.util
-
- ExceptionUtils() - Constructor for class org.cojen.dirmi.util.ExceptionUtils
-
- execute(Runnable) - Method in class org.cojen.dirmi.io.IOExecutor
-
- execute(Runnable) - Method in class org.cojen.dirmi.util.ThreadPool
-
- execute(Runnable) - Method in class org.cojen.dirmi.util.ThrottledExecutor
-
Queues the command for later execution, or executes it immediately.
- executor() - Method in class org.cojen.dirmi.Environment
-
Returns the executor used by this environment.
- executor() - Method in class org.cojen.dirmi.io.RecyclableSocketChannelSelector
-
- executor() - Method in interface org.cojen.dirmi.io.SocketChannelSelector
-
- exitMethod(int) - Method in class org.cojen.dirmi.trace.NullHandler
-
- exitMethod(int, long) - Method in class org.cojen.dirmi.trace.NullHandler
-
- exitMethod(int, Object) - Method in class org.cojen.dirmi.trace.NullHandler
-
- exitMethod(int, Object, long) - Method in class org.cojen.dirmi.trace.NullHandler
-
- exitMethod(int, Throwable) - Method in class org.cojen.dirmi.trace.NullHandler
-
- exitMethod(int, Throwable, long) - Method in class org.cojen.dirmi.trace.NullHandler
-
- exitMethod(int) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- exitMethod(int, long) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- exitMethod(int, Object) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- exitMethod(int, Object, long) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- exitMethod(int, Throwable) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- exitMethod(int, Throwable, long) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- exitMethod(int) - Method in interface org.cojen.dirmi.trace.TraceHandler
-
Called by a traced method upon exit.
- exitMethod(int, long) - Method in interface org.cojen.dirmi.trace.TraceHandler
-
Called by a traced method upon exit.
- exitMethod(int, Object) - Method in interface org.cojen.dirmi.trace.TraceHandler
-
Called by a traced method upon exit.
- exitMethod(int, Object, long) - Method in interface org.cojen.dirmi.trace.TraceHandler
-
Called by a traced method upon exit.
- exitMethod(int, Throwable) - Method in interface org.cojen.dirmi.trace.TraceHandler
-
Called by a traced method upon exit caused by a thrown exception.
- exitMethod(int, Throwable, long) - Method in interface org.cojen.dirmi.trace.TraceHandler
-
Called by a traced method upon exit caused by a thrown exception.
- failed(Class<T>, InvocationChannel, Throwable) - Method in interface org.cojen.dirmi.core.StubSupport
-
Called if invocation failed due to a problem with the channel, and it
should be closed.
- failed(IOException) - Method in interface org.cojen.dirmi.io.ChannelAcceptor.Listener
-
Called when channel cannot be accepted, but does not imply that
acceptor is closed.
- failed(IOException) - Method in interface org.cojen.dirmi.io.ChannelBrokerAcceptor.Listener
-
Called when broker cannot be accepted, but does not imply that
acceptor is closed.
- failed(IOException) - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector.Listener
-
Called when channel cannot be connected.
- failed(IOException) - Method in interface org.cojen.dirmi.io.ChannelConnector.Listener
-
Called when channel cannot be connected.
- failedAndCancelTimeout(Class<T>, InvocationChannel, Throwable, long, TimeUnit) - Method in interface org.cojen.dirmi.core.StubSupport
-
Called if invocation failed due to a problem with the channel, and it
should be closed.
- failedAndCancelTimeout(Class<T>, InvocationChannel, Throwable, double, TimeUnit) - Method in interface org.cojen.dirmi.core.StubSupport
-
Called if invocation failed due to a problem with the channel, and it
should be closed.
- failedBatchedRemote(Class<R>, Throwable) - Method in interface org.cojen.dirmi.core.SkeletonSupport
-
Used by batched methods which return a Remote object.
- fill() - Method in class org.cojen.dirmi.io.BufferedInputStream
-
Ensures at least one byte can be read, blocking if necessary.
- finished(int) - Method in class org.cojen.dirmi.core.OrderedInvoker
-
- finished(InvocationChannel, boolean) - Method in interface org.cojen.dirmi.core.SkeletonSupport
-
Called after synchronous method is finished with channel.
- finished(InvocationChannel, Throwable) - Method in interface org.cojen.dirmi.core.SkeletonSupport
-
Called after synchronous method threw an exception and is finished with
channel.
- finished(InvocationChannel, boolean) - Method in interface org.cojen.dirmi.core.StubSupport
-
Called after channel usage is finished and can be reused for sending
new requests.
- finishedAndCancelTimeout(InvocationChannel, boolean) - Method in interface org.cojen.dirmi.core.StubSupport
-
Called after channel usage is finished and can be reused for sending
new requests.
- finishedAsync(InvocationChannel) - Method in interface org.cojen.dirmi.core.SkeletonSupport
-
Called after asynchronous method is finished with channel.
- flush() - Method in class org.cojen.dirmi.core.InvocationOutputStream
-
- flush() - Method in class org.cojen.dirmi.core.StandardSession
-
- flush() - Method in class org.cojen.dirmi.io.BufferedOutputStream
-
- flush() - Method in interface org.cojen.dirmi.Pipe
-
Flushes the pipe by writing any buffered output to the transport layer.
- flush() - Method in interface org.cojen.dirmi.Session
-
Flushes all channels of this session, including channels used for
batch calls and
eventual asynchronous
methods.
- from(Class<B>, Class<D>) - Static method in class org.cojen.dirmi.util.Wrapper
-
Generates a wrapper from a base type and delegate type.
- get() - Method in class org.cojen.dirmi.core.LocalSession
-
- get(K) - Method in class org.cojen.dirmi.util.Cache
-
Deprecated.
- getAgentId() - Method in class org.cojen.dirmi.trace.TraceAgent
-
- getArguments() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.Scope
-
Returns the arguments passed to the first invocation of the method
that initiated this scope.
- getAsynchronousCallMode() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns the asynchronous call mode, or null if not asynchronous.
- getCallCount() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.MethodData
-
Returns the amount of times the traced method was called, which is
always at least one.
- getCause() - Method in exception org.cojen.dirmi.ReconstructedException
-
Returns the Throwable which was reconstructed, or null if not possible.
- getConstructor(Class<?>...) - Method in class org.cojen.dirmi.util.Wrapper
-
Returns a constructor for the generated wrapper.
- getDeclaringClass() - Method in class org.cojen.dirmi.trace.TracedMethod
-
Returns the method's declaring class, or null if garbage collected.
- getException() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.Scope
-
Returns the exception thrown from the first invocation of the method
that initiated this scope.
- getExceptionTypes() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns the method exception types in an unmodifiable set.
- getExtraData() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.Scope
-
Returns extra data stored in this scope, which may be empty.
- getInfoId() - Method in interface org.cojen.dirmi.info.RemoteInfo
-
Returns a unique identifier for the remote interface.
- getInputStream() - Method in interface org.cojen.dirmi.core.InvocationChannel
-
- getInputStream() - Method in interface org.cojen.dirmi.io.Channel
-
Returns an input stream for the channel, which when closed, closes the
channel.
- getInputStream() - Method in interface org.cojen.dirmi.Pipe
-
Returns the pipe's InputStream which also implements ObjectInput.
- getInterfaceNames() - Method in interface org.cojen.dirmi.info.RemoteInfo
-
Returns the names of all remote interfaces implemented by this
RemoteInfo, in an unmodifiable set.
- getLocalAddress() - Method in class org.cojen.dirmi.core.StandardSession
-
- getLocalAddress() - Method in class org.cojen.dirmi.core.StandardSessionAcceptor
-
- getLocalAddress() - Method in class org.cojen.dirmi.io.BasicChannelBrokerAcceptor
-
- getLocalAddress() - Method in class org.cojen.dirmi.io.BasicChannelBrokerConnector
-
- getLocalAddress() - Method in interface org.cojen.dirmi.io.ChannelAcceptor
-
- getLocalAddress() - Method in interface org.cojen.dirmi.io.ChannelBrokerAcceptor
-
- getLocalAddress() - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector
-
- getLocalAddress() - Method in interface org.cojen.dirmi.io.ChannelConnector
-
- getLocalAddress() - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- getLocalAddress() - Method in interface org.cojen.dirmi.Link
-
- getLocalAddress() - Method in interface org.cojen.dirmi.Session
-
- getLocalAddress() - Method in interface org.cojen.dirmi.SessionAcceptor
-
- getLocalAddress() - Method in interface org.cojen.dirmi.SessionConnector
-
- getMethodData() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.Scope
-
Returns data for each traced method in this scope.
- getMethodId() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns a unique identifier for this method, within the scope of its
enclosing type.
- getMethodId() - Method in class org.cojen.dirmi.trace.TracedMethod
-
- getMethodName() - Method in class org.cojen.dirmi.trace.TracedMethod
-
Returns the method's name, or null if a constructor.
- getName() - Method in interface org.cojen.dirmi.info.RemoteInfo
-
Returns the name of the remote interface described by this RemoteInfo,
which is the same as the interface name.
- getName() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns the name of this method.
- getOperation() - Method in class org.cojen.dirmi.trace.TracedMethod
-
Returns the optional traced method operation.
- getOutputStream() - Method in interface org.cojen.dirmi.core.InvocationChannel
-
- getOutputStream() - Method in interface org.cojen.dirmi.io.Channel
-
Returns an output stream for the channel, which when closed, closes the
channel.
- getOutputStream() - Method in interface org.cojen.dirmi.Pipe
-
Returns the pipe's OutputStream which also implements ObjectOutput.
- getParameterTypes() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns the method parameters in an unmodifiable list.
- getParameterTypes() - Method in class org.cojen.dirmi.trace.TracedMethod
-
Returns the method's parameter types, which may contain null elements if they have
been garbage collected.
- getReconstructCause() - Method in exception org.cojen.dirmi.ReconstructedException
-
Returns the cause that forced the Throwable to be reconstructed.
- getRemoteAddress() - Method in class org.cojen.dirmi.core.StandardSession
-
- getRemoteAddress() - Method in class org.cojen.dirmi.io.BasicChannelBrokerConnector
-
- getRemoteAddress() - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector
-
- getRemoteAddress() - Method in interface org.cojen.dirmi.io.ChannelConnector
-
- getRemoteAddress() - Method in class org.cojen.dirmi.io.PipedChannelBroker
-
- getRemoteAddress() - Method in interface org.cojen.dirmi.Link
-
- getRemoteAddress() - Method in interface org.cojen.dirmi.Session
-
- getRemoteAddress() - Method in interface org.cojen.dirmi.SessionConnector
-
- getRemoteClass() - Method in exception org.cojen.dirmi.MalformedRemoteObjectException
-
Returns the malformed class, or null if it cannot be loaded.
- getRemoteClassName() - Method in exception org.cojen.dirmi.MalformedRemoteObjectException
-
Returns the malformed class name.
- getRemoteFailureException() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
- getRemoteMethod(String, RemoteParameter<?>...) - Method in interface org.cojen.dirmi.info.RemoteInfo
-
- getRemoteMethods() - Method in interface org.cojen.dirmi.info.RemoteInfo
-
Returns all remote methods in an unmodifiable set.
- getRemoteMethods(String) - Method in interface org.cojen.dirmi.info.RemoteInfo
-
Returns all remote methods by the given name in an unmodifiable set.
- getRemoteServer() - Method in interface org.cojen.dirmi.core.Skeleton
-
Returns the Remote object managed by this Skeleton.
- getRemoteType(R) - Static method in class org.cojen.dirmi.info.RemoteIntrospector
-
Returns the Remote interface implemented by the given Remote object.
- getResult() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.Scope
-
Returns the return value passed from the first invocation of the
method that initiated this scope.
- getReturnType() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns the return type of this method, which is null if void.
- getReturnType() - Method in class org.cojen.dirmi.trace.TracedMethod
-
Returns the method's return type, which is null if void or if class has
been garbage collected.
- getSignature() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns a Java-syntax signature for method.
- getSkeletonFactory(Class<R>) - Static method in class org.cojen.dirmi.core.SkeletonFactoryGenerator
-
Returns a new or cached SkeletonFactory.
- getSkeletonFactory(Class<R>, RemoteInfo) - Static method in class org.cojen.dirmi.core.SkeletonFactoryGenerator
-
Returns a new or cached SkeletonFactory for use with remote objects
served by batched methods.
- getStartTimeMillis() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.Scope
-
Returns the time when the scope was created, as milliseconds from
1970-01-01T00:00:00Z.
- getStubFactory(Class<R>, RemoteInfo) - Static method in class org.cojen.dirmi.core.StubFactoryGenerator
-
Returns a new or cached StubFactory.
- getThread() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.Scope
-
Returns the thread that this scope ran in.
- getTimeout() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns the method timeout, which was either explicitly defined or
inherited from its enclosing interface.
- getTimeoutUnit() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns the method timeout unit, which was either explicitly defined or
inherited from its enclosing interface.
- getToolbox() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- getTotalTimeNanos() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.MethodData
-
Returns the total time spent in executing the traced method, in
nanoseconds.
- getTraceAgent(long) - Static method in class org.cojen.dirmi.trace.TraceAgent
-
Method called by instrumented class to get reference to agent.
- getTraceAnnotation() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns the optional trace annotation for this method, which is not serailized.
- getTraceArguments() - Method in class org.cojen.dirmi.trace.TraceModes
-
Returns mode for tracing the arguments of methods.
- getTraceCalls() - Method in class org.cojen.dirmi.trace.TraceModes
-
Returns mode for tracing method calls, which is implicitly on if any
other tracing feature is enabled.
- getTracedMethod() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.MethodData
-
Returns the method that was traced.
- getTracedMethod(int) - Method in class org.cojen.dirmi.trace.TraceToolbox
-
Returns a previously registered method.
- getTraceException() - Method in class org.cojen.dirmi.trace.TraceModes
-
Returns mode for tracing the thrown exception of methods.
- getTraceHandler() - Method in class org.cojen.dirmi.trace.TraceAgent
-
Method called by instrumented class to get the trace handler.
- getTraceModes(String) - Method in class org.cojen.dirmi.trace.NullHandler
-
- getTraceModes(String) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
- getTraceModes(String) - Method in interface org.cojen.dirmi.trace.TraceHandler
-
Return allowed tracing modes for the given class.
- getTraceResult() - Method in class org.cojen.dirmi.trace.TraceModes
-
Returns mode for tracing the return value of methods.
- getTraceTime() - Method in class org.cojen.dirmi.trace.TraceModes
-
Returns mode for tracing the execution time of methods.
- getType() - Method in interface org.cojen.dirmi.info.RemoteParameter
-
- Identifier - Class in org.cojen.dirmi.core
-
Object which uniquely identifies another object.
- identify(Object) - Static method in class org.cojen.dirmi.core.Identifier
-
Returns a new or existing unique identifier for the given object.
- identify(Object) - Static method in class org.cojen.dirmi.core.VersionedIdentifier
-
Returns a new or existing unique identifier for the given object.
- inputNotify(Channel.Listener) - Method in interface org.cojen.dirmi.io.Channel
-
Register a listener which is asynchronously notified when a call to
isInputReady will return true.
- inputNotify(SocketChannel, Channel.Listener) - Method in class org.cojen.dirmi.io.RecyclableSocketChannelSelector
-
Register a listener which is asynchronously notified when channel can be
read from.
- inputNotify(SocketChannel, Channel.Listener) - Method in interface org.cojen.dirmi.io.SocketChannelSelector
-
Register a listener which is asynchronously notified when channel can be
read from.
- inputResume() - Method in class org.cojen.dirmi.io.BufferedInputStream
-
- inputResume() - Method in interface org.cojen.dirmi.io.Channel
-
Allows input to resume after reading a suspend marker.
- installRecycler(Channel.Recycler) - Method in interface org.cojen.dirmi.io.Channel
-
Install a recycler which is called after this channel has been closed
and a recyled channel has been created.
- InvocationChannel - Interface in org.cojen.dirmi.core
-
Basic interface for a bidirectional method invocation I/O channel.
- InvocationInput - Interface in org.cojen.dirmi.core
-
Interface describing the low-level input operations used by remote method
invocation.
- InvocationInputStream - Class in org.cojen.dirmi.core
-
- InvocationInputStream(InvocationChannel, ObjectInputStream) - Constructor for class org.cojen.dirmi.core.InvocationInputStream
-
- InvocationOutput - Interface in org.cojen.dirmi.core
-
Interface describing the low-level output operations used by remote method
invocation.
- InvocationOutputStream - Class in org.cojen.dirmi.core
-
- InvocationOutputStream(InvocationChannel, DrainableObjectOutputStream) - Constructor for class org.cojen.dirmi.core.InvocationOutputStream
-
- invoke(Link, int, InvocationChannel, BatchedInvocationException) - Method in interface org.cojen.dirmi.core.Skeleton
-
Invoke a remote method on the server.
- invoke(Class<T>) - Method in interface org.cojen.dirmi.core.StubSupport
-
Writes request header to a free channel.
- invoke(Class<T>, long, TimeUnit) - Method in interface org.cojen.dirmi.core.StubSupport
-
Writes request header to a free channel.
- invoke(Class<T>, double, TimeUnit) - Method in interface org.cojen.dirmi.core.StubSupport
-
Writes request header to free channel.
- IOExecutor - Class in org.cojen.dirmi.io
-
Executor which throws checked exceptions if no threads are available.
- IOExecutor(ScheduledExecutorService) - Constructor for class org.cojen.dirmi.io.IOExecutor
-
- isAsynchronous() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns true if this method is asynchronous.
- isBatched() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns true if this method is batched, which implies that it is
asynchronous.
- isCauseDeclared(Class) - Method in exception org.cojen.dirmi.core.BatchedInvocationException
-
Returns true if cause of this exception matches the declared type or is
unchecked.
- isCauseDeclared(Class, Class) - Method in exception org.cojen.dirmi.core.BatchedInvocationException
-
Returns true if cause of this exception matches one of the declared
types or is unchecked.
- isCauseDeclared(Class...) - Method in exception org.cojen.dirmi.core.BatchedInvocationException
-
Returns true if cause of this exception matches one of the declared
types or is unchecked.
- isClosed() - Method in interface org.cojen.dirmi.io.Channel
-
Returns true if channel is absolutely closed or disconnected.
- isClosed() - Method in class org.cojen.dirmi.io.CloseableGroup
-
- isClosed() - Method in class org.cojen.dirmi.io.PipedInputStream
-
- isClosed() - Method in class org.cojen.dirmi.io.PipedOutputStream
-
- isConstructor() - Method in class org.cojen.dirmi.trace.TracedMethod
-
Returns true if traced method is a constructor.
- isDisposer() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
- isEmpty() - Method in class org.cojen.dirmi.util.Cache
-
Deprecated.
- isGraft(int) - Static method in class org.cojen.dirmi.trace.TracedMethod
-
- isGraft() - Method in class org.cojen.dirmi.trace.TracedMethod
-
- isInputReady() - Method in interface org.cojen.dirmi.io.Channel
-
Returns true if bytes can read from channel without blocking.
- isNext(int) - Method in class org.cojen.dirmi.core.OrderedInvoker
-
Is called by asynchronous methods to prevent too many threads from
accumulating.
- isOrdered() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
- isOutputReady() - Method in interface org.cojen.dirmi.io.Channel
-
Returns true if bytes can written to channel without blocking.
- isReady() - Method in class org.cojen.dirmi.io.BufferedInputStream
-
- isReady() - Method in class org.cojen.dirmi.io.BufferedOutputStream
-
- isReady() - Method in class org.cojen.dirmi.io.PipedInputStream
-
- isReady() - Method in class org.cojen.dirmi.io.PipedOutputStream
-
- isRemoteFailureExceptionDeclared() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
- isResumeSupported() - Method in class org.cojen.dirmi.io.BufferedInputStream
-
- isResumeSupported() - Method in interface org.cojen.dirmi.io.Channel
-
- isRoot() - Method in class org.cojen.dirmi.trace.ScopedTraceHandler.Scope
-
Returns true if this is the root traced scope -- it has no parent.
- isRoot(int) - Static method in class org.cojen.dirmi.trace.TracedMethod
-
- isRoot() - Method in class org.cojen.dirmi.trace.TracedMethod
-
- isShutdown() - Method in exception org.cojen.dirmi.RejectedException
-
Returns true if caused by executor shutdown.
- isShutdown() - Method in class org.cojen.dirmi.util.ThreadPool
-
- isStatic() - Method in class org.cojen.dirmi.trace.TracedMethod
-
Returns true if traced method is static.
- isTerminated() - Method in class org.cojen.dirmi.util.ThreadPool
-
- isTimeout() - Method in interface org.cojen.dirmi.info.RemoteParameter
-
Returns true if parameter defines the runtime timeout for the method.
- isTimeoutUnit() - Method in interface org.cojen.dirmi.info.RemoteParameter
-
Returns true if parameter defines the runtime timeout unit for the method.
- isUnbatched() - Method in interface org.cojen.dirmi.info.RemoteMethod
-
Returns true if this method should never be included in a batch.
- isUnshared() - Method in interface org.cojen.dirmi.info.RemoteParameter
-
Returns true if parameter does not need to be serialized such that it
can be back referenced.
- isVoid() - Method in class org.cojen.dirmi.trace.TracedMethod
-
Returns true if the method returns void.
- Random - Class in org.cojen.dirmi.util
-
Collection of thread-safe methods for generating random numbers.
- Random() - Constructor for class org.cojen.dirmi.util.Random
-
- randomBoolean() - Static method in class org.cojen.dirmi.util.Random
-
- randomBytes(byte[]) - Static method in class org.cojen.dirmi.util.Random
-
- randomDouble() - Static method in class org.cojen.dirmi.util.Random
-
- randomFloat() - Static method in class org.cojen.dirmi.util.Random
-
- randomInt() - Static method in class org.cojen.dirmi.util.Random
-
- randomInt(int) - Static method in class org.cojen.dirmi.util.Random
-
- randomLong() - Static method in class org.cojen.dirmi.util.Random
-
- randomLong(long) - Static method in class org.cojen.dirmi.util.Random
-
- read(DataInput) - Static method in class org.cojen.dirmi.core.Identifier
-
Returns a deserialized identifier, which may or may not have an object
registered with it.
- read(InputStream) - Static method in class org.cojen.dirmi.core.Identifier
-
Returns a deserialized identifier, which may or may not have an object
registered with it.
- read() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- read(byte[]) - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- read(byte[], int, int) - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- read(DataInput) - Static method in class org.cojen.dirmi.core.VersionedIdentifier
-
Returns a deserialized identifier, which may or may not have an object
registered with it.
- read(InputStream) - Static method in class org.cojen.dirmi.core.VersionedIdentifier
-
Returns a deserialized identifier, which may or may not have an object
registered with it.
- read() - Method in class org.cojen.dirmi.io.BufferedInputStream
-
- read(byte[], int, int) - Method in class org.cojen.dirmi.io.BufferedInputStream
-
- read() - Method in class org.cojen.dirmi.io.PipedInputStream
-
- read(byte[]) - Method in class org.cojen.dirmi.io.PipedInputStream
-
- read(byte[], int, int) - Method in class org.cojen.dirmi.io.PipedInputStream
-
- READ_ANY_THREAD - Static variable in interface org.cojen.dirmi.core.Skeleton
-
Caller should read another request, using any thread.
- READ_FINISHED - Static variable in interface org.cojen.dirmi.core.Skeleton
-
Caller should not read any more requests.
- READ_SAME_THREAD - Static variable in interface org.cojen.dirmi.core.Skeleton
-
Caller should read another request, in the current thread.
- readAndUpdateRemoteVersion(DataInput) - Static method in class org.cojen.dirmi.core.VersionedIdentifier
-
Returns a deserialized identifier, and also updates the remote
version.
- readBoolean() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readByte() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readChar() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readDouble() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readFloat() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readFully(byte[]) - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readFully(byte[], int, int) - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readInt() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readLine() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
Deprecated.
- readLong() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readObject() - Method in interface org.cojen.dirmi.core.InvocationInput
-
Reads a sharable Serializable or Remote object.
- readObject() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readShort() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readThrowable() - Method in interface org.cojen.dirmi.core.InvocationInput
-
If remote exception cannot be represented by a local exception class
or it cannot be serialized, it is represented as a RemoteException
instead, with as much useful information as possible, including server
stack trace.
- readThrowable() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readThrowable() - Method in interface org.cojen.dirmi.Pipe
-
Reads a Throwable which was written via writeThrowable, which may be null.
- readUnshared() - Method in interface org.cojen.dirmi.core.InvocationInput
-
Reads an unshared Serializable or Remote object.
- readUnshared() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readUnsharedString() - Method in interface org.cojen.dirmi.core.InvocationInput
-
Reads the length and of contents the String from a packed format similar
to UTF-8.
- readUnsharedString() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readUnsignedByte() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readUnsignedShort() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- readUTF() - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- ready() - Method in interface org.cojen.dirmi.io.Channel.Listener
-
Called when bytes can be read or written to channel, depending on
how listener was registered.
- rebatch(InvocationChannel) - Method in interface org.cojen.dirmi.core.StubSupport
-
Called by unbatched methods to re-instate a thread-local channel.
- receive() - Method in class org.cojen.dirmi.core.StandardSession
-
- receive(long, TimeUnit) - Method in class org.cojen.dirmi.core.StandardSession
-
- receive() - Method in interface org.cojen.dirmi.Session
-
- receive(long, TimeUnit) - Method in interface org.cojen.dirmi.Session
-
- ReconstructedException - Exception in org.cojen.dirmi
-
Thrown by a remote method or
Pipe.readThrowable() if the Throwable was
not serializable or depends on classes that are not found.
- ReconstructedException(Throwable, Throwable) - Constructor for exception org.cojen.dirmi.ReconstructedException
-
- ReconstructedException(Throwable, String, String, Throwable) - Constructor for exception org.cojen.dirmi.ReconstructedException
-
- RecyclableSocketChannelAcceptor - Class in org.cojen.dirmi.io
-
Implements an acceptor using TCP/IP which supports channel recycling.
- RecyclableSocketChannelAcceptor(IOExecutor, SocketAddress) - Constructor for class org.cojen.dirmi.io.RecyclableSocketChannelAcceptor
-
- RecyclableSocketChannelAcceptor(IOExecutor, SocketAddress, ServerSocket) - Constructor for class org.cojen.dirmi.io.RecyclableSocketChannelAcceptor
-
- RecyclableSocketChannelConnector - Class in org.cojen.dirmi.io
-
Implements a connector using TCP/IP which supports channel recycling.
- RecyclableSocketChannelConnector(IOExecutor, SocketAddress) - Constructor for class org.cojen.dirmi.io.RecyclableSocketChannelConnector
-
- RecyclableSocketChannelConnector(IOExecutor, SocketAddress, SocketAddress) - Constructor for class org.cojen.dirmi.io.RecyclableSocketChannelConnector
-
- RecyclableSocketChannelConnector(IOExecutor, SocketAddress, SocketAddress, SocketFactory) - Constructor for class org.cojen.dirmi.io.RecyclableSocketChannelConnector
-
- RecyclableSocketChannelSelector - Class in org.cojen.dirmi.io
-
Factory for TCP channel acceptors and connectors that use selectable
sockets.
- RecyclableSocketChannelSelector(IOExecutor) - Constructor for class org.cojen.dirmi.io.RecyclableSocketChannelSelector
-
- recycled(Channel) - Method in interface org.cojen.dirmi.io.Channel.Recycler
-
Called with a newly recycled channel, which does not yet have a
recycler installed.
- register(Queue<? super Completion<V>>) - Method in interface org.cojen.dirmi.Completion
-
Registers this future such that it enqueues itself into the given queue
when done.
- register(T) - Method in class org.cojen.dirmi.core.Identifier
-
- register(T) - Method in class org.cojen.dirmi.core.VersionedIdentifier
-
- register(CloseableGroup<? super Channel>) - Method in interface org.cojen.dirmi.io.Channel
-
Register this channel with at least one group.
- registerTraceMethod(int, String, Class, String, Class, Class...) - Method in class org.cojen.dirmi.trace.TraceAgent
-
Method called by instrumented class to register traced methods.
- rejected(RejectedException) - Method in interface org.cojen.dirmi.io.Channel.Listener
-
Called if no threads are available to invoke any listeners, but does
not imply that channel is closed.
- rejected(RejectedException) - Method in interface org.cojen.dirmi.io.ChannelAcceptor.Listener
-
Called if no threads are available to invoke any listeners, but does
not imply that acceptor is closed.
- rejected(RejectedException) - Method in interface org.cojen.dirmi.io.ChannelBrokerAcceptor.Listener
-
Called if no threads are available to invoke any listeners, but does
not imply that acceptor is closed.
- rejected(RejectedException) - Method in interface org.cojen.dirmi.io.ChannelBrokerConnector.Listener
-
Called if no threads are available to invoke any listeners, but does
not imply that connector is closed.
- rejected(RejectedException) - Method in interface org.cojen.dirmi.io.ChannelConnector.Listener
-
Called if no threads are available to invoke any listeners, but does
not imply that connector is closed.
- RejectedException - Exception in org.cojen.dirmi
-
Exception indicating that an I/O operation failed because no threads are
available.
- RejectedException(boolean) - Constructor for exception org.cojen.dirmi.RejectedException
-
- RejectedException(boolean, String) - Constructor for exception org.cojen.dirmi.RejectedException
-
- RejectedException(boolean, Throwable) - Constructor for exception org.cojen.dirmi.RejectedException
-
- RejectedException(boolean, String, Throwable) - Constructor for exception org.cojen.dirmi.RejectedException
-
- RejectedException(String, RejectedException) - Constructor for exception org.cojen.dirmi.RejectedException
-
- release(InvocationChannel) - Method in interface org.cojen.dirmi.core.StubSupport
-
Called if channel is to be used for returning a Pipe.
- remaining() - Method in class org.cojen.dirmi.util.Timer
-
Returns remaining duration, which is zero or negative if duration has
elapsed.
- RemoteCompletion<V> - Interface in org.cojen.dirmi.core
-
Interface used internally by asynchronous remote methods to signal when
finished.
- RemoteFailure - Annotation Type in org.cojen.dirmi
-
Annotate a remote method or interface to specify what exception is to be
used to indicate a remote call failure.
- RemoteInfo - Interface in org.cojen.dirmi.info
-
- RemoteIntrospector - Class in org.cojen.dirmi.info
-
Supports examination of Remote types, returning all metadata
associated with it.
- RemoteMethod - Interface in org.cojen.dirmi.info
-
Describes a remote method, as provided by
RemoteInfo.
- RemoteParameter<T> - Interface in org.cojen.dirmi.info
-
Describes a remote method parameter.
- RemoteTimeoutException - Exception in org.cojen.dirmi
-
Thrown when a remote method has not responded in time.
- RemoteTimeoutException(long, TimeUnit) - Constructor for exception org.cojen.dirmi.RemoteTimeoutException
-
- RemoteTimeoutException(double, TimeUnit) - Constructor for exception org.cojen.dirmi.RemoteTimeoutException
-
- RemoteTimeoutException(Timer) - Constructor for exception org.cojen.dirmi.RemoteTimeoutException
-
- remoteVersion() - Method in class org.cojen.dirmi.core.VersionedIdentifier
-
Returns the current remote version number.
- remove(C) - Method in class org.cojen.dirmi.io.CloseableGroup
-
Removes a member from the group, but does not close it.
- remove(K) - Method in class org.cojen.dirmi.util.Cache
-
Deprecated.
- report(ScopedTraceHandler.Scope) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
Called when a scope exits, allowing subclasses to report on the data it
gathered.
- report(ScopedTraceHandler.Scope) - Method in class org.cojen.dirmi.trace.SimpleHandler
-
- requestReply(InvocationChannel) - Method in interface org.cojen.dirmi.core.SkeletonSupport
-
Called if channel is expected to be a request-reply Pipe.
- requestReply(InvocationChannel) - Method in interface org.cojen.dirmi.core.StubSupport
-
Called if channel is to be used for returning a request-reply Pipe.
- reset() - Method in interface org.cojen.dirmi.core.InvocationOutput
-
Resets the stream for reuse.
- reset() - Method in class org.cojen.dirmi.core.InvocationOutputStream
-
- reset() - Method in interface org.cojen.dirmi.Pipe
-
Disregard the state of any objects already written to the pipe, allowing
them to get freed.
- resolveClass(String) - Method in interface org.cojen.dirmi.ClassResolver
-
Load the class or interface for the given name.
- Response - Class in org.cojen.dirmi
-
- run() - Method in class org.cojen.dirmi.util.ScheduledTask
-
- schedule(Runnable, long, TimeUnit) - Method in class org.cojen.dirmi.io.IOExecutor
-
- schedule(Callable<V>, long, TimeUnit) - Method in class org.cojen.dirmi.io.IOExecutor
-
- schedule(Runnable, long, TimeUnit) - Method in class org.cojen.dirmi.util.ThreadPool
-
- schedule(Callable<V>, long, TimeUnit) - Method in class org.cojen.dirmi.util.ThreadPool
-
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.cojen.dirmi.io.IOExecutor
-
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.cojen.dirmi.util.ThreadPool
-
- scheduleAtRandomRate(Runnable, long, long, long, TimeUnit) - Method in class org.cojen.dirmi.util.ThreadPool
-
Schedules a task which executes with a randomly selected rate, for
applying jitter.
- ScheduledTask<E extends Throwable> - Class in org.cojen.dirmi.util
-
Runnable intended for scheduling tasks which passes uncaught exceptions to
the current thread's uncaught exception handler.
- ScheduledTask() - Constructor for class org.cojen.dirmi.util.ScheduledTask
-
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.cojen.dirmi.io.IOExecutor
-
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.cojen.dirmi.util.ThreadPool
-
- ScopedTraceHandler - Class in org.cojen.dirmi.trace
-
Abstract trace handler which gathers data on traced methods and reports it
upon scope exit.
- ScopedTraceHandler(TraceToolbox) - Constructor for class org.cojen.dirmi.trace.ScopedTraceHandler
-
- ScopedTraceHandler.MethodData - Class in org.cojen.dirmi.trace
-
- ScopedTraceHandler.Scope - Class in org.cojen.dirmi.trace
-
- scopeGet(String) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
Retrieve an arbitrary key-value pair from the current scope, unless
there is no current scope.
- scopePut(String, Object) - Method in class org.cojen.dirmi.trace.ScopedTraceHandler
-
Add an arbitrary key-value pair to the current scope, unless there is no
current scope.
- seconds(long) - Static method in class org.cojen.dirmi.util.Timer
-
Returns a new seconds Timer.
- selectLoop() - Method in class org.cojen.dirmi.io.RecyclableSocketChannelSelector
-
Perform socket selection, returning normally only when selector is closed.
- send(Object) - Method in class org.cojen.dirmi.core.StandardSession
-
- send(Object, long, TimeUnit) - Method in class org.cojen.dirmi.core.StandardSession
-
- send(Object) - Method in interface org.cojen.dirmi.Session
-
- send(Object, long, TimeUnit) - Method in interface org.cojen.dirmi.Session
-
- Session - Interface in org.cojen.dirmi
-
Remote method invocation session.
- SessionAcceptor - Interface in org.cojen.dirmi
-
Accepts sessions from remote endpoints.
- SessionAccess - Class in org.cojen.dirmi
-
Provides session link access for client-side and server-side remote objects.
- SessionAware - Interface in org.cojen.dirmi
-
Remote objects implementing this interface can access the current session
link which is making a remote method invocation.
- SessionCloseListener - Interface in org.cojen.dirmi
-
Receives notification when a
Session is closed.
- SessionCloseListener.Cause - Enum in org.cojen.dirmi
-
- SessionConnector - Interface in org.cojen.dirmi
-
Connects to remote endpoints and establishes sessions.
- sessionLink() - Method in interface org.cojen.dirmi.core.StubSupport
-
Returns a link to the session that stub is bound to.
- SessionListener - Interface in org.cojen.dirmi
-
Listener is called asynchronously as sessions are established.
- setBufferSize(int) - Method in class org.cojen.dirmi.io.BufferedInputStream
-
Sets the size of the buffer, returning the actual size applied.
- setBufferSize(int) - Method in class org.cojen.dirmi.io.BufferedOutputStream
-
Sets the size of the buffer, returning the actual size applied.
- setClassLoader(ClassLoader) - Method in class org.cojen.dirmi.core.StandardSession
-
- setClassLoader(ClassLoader) - Method in interface org.cojen.dirmi.Session
-
Convenience method to use a ClassLoader for resolving classes.
- setClassResolver(ClassResolver) - Method in class org.cojen.dirmi.core.StandardSession
-
- setClassResolver(ClassResolver) - Method in interface org.cojen.dirmi.Session
-
Can be called at most once to control how deserialized classes and
remote interfaces are resolved.
- setInputBufferSize(int) - Method in interface org.cojen.dirmi.io.Channel
-
Sets the size of the input buffer, returning the actual size applied.
- setMessage(String) - Static method in class org.cojen.dirmi.trace.SimpleHandler
-
Call to set an arbitrary message into the currently traced scope.
- setOutputBufferSize(int) - Method in interface org.cojen.dirmi.io.Channel
-
Sets the size of the output buffer, returning the actual size applied.
- setRecycleControl(Remote) - Method in interface org.cojen.dirmi.io.Channel
-
Set the recycling control object from the remote channel
endpoint.
- shutdown() - Method in class org.cojen.dirmi.util.ThreadPool
-
- shutdownNow() - Method in class org.cojen.dirmi.util.ThreadPool
-
- SimpleHandler - Class in org.cojen.dirmi.trace
-
TraceHandler which prints method trace information to standard out.
- SimpleHandler(TraceToolbox) - Constructor for class org.cojen.dirmi.trace.SimpleHandler
-
- size() - Method in class org.cojen.dirmi.util.Cache
-
Deprecated.
- Skeleton<R extends Remote> - Interface in org.cojen.dirmi.core
-
A Skeleton instance wraps a server-side Remote object, unmarshalls client
requests, and invokes server-side methods.
- SkeletonFactory<R extends Remote> - Interface in org.cojen.dirmi.core
-
Produces new
Skeleton instances for server-side Remote objects.
- SkeletonFactoryGenerator<R extends Remote> - Class in org.cojen.dirmi.core
-
- SkeletonSupport - Interface in org.cojen.dirmi.core
-
Object passed to a Skeleton instance in order for it to decide when channels
can be reused.
- skip(long) - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- skip(long) - Method in class org.cojen.dirmi.io.BufferedInputStream
-
- skip(long) - Method in class org.cojen.dirmi.io.PipedInputStream
-
- skipBytes(int) - Method in class org.cojen.dirmi.core.InvocationInputStream
-
- SocketChannelSelector - Interface in org.cojen.dirmi.io
-
- StandardSession - Class in org.cojen.dirmi.core
-
Standard implementation of a remote method invocation
Session.
- StandardSessionAcceptor - Class in org.cojen.dirmi.core
-
- startTimeout(long, TimeUnit) - Method in interface org.cojen.dirmi.Pipe
-
Starts a task which forcibly closes this pipe after the timeout has
elapsed, unless it is
cancelled in time.
- Stub - Interface in org.cojen.dirmi.core
-
Marker interface for generated stubs.
- stubEquals(StubSupport) - Method in interface org.cojen.dirmi.core.StubSupport
-
Returns a partial equals implementation for the Stub.
- StubFactory<R extends Remote> - Interface in org.cojen.dirmi.core
-
Produces new Stub instances for client-side Remote objects.
- StubFactoryGenerator<R extends Remote> - Class in org.cojen.dirmi.core
-
Generates
StubFactory instances for any given Remote type.
- stubHashCode() - Method in interface org.cojen.dirmi.core.StubSupport
-
Returns a hashCode implementation for the Stub.
- StubSupport - Interface in org.cojen.dirmi.core
-
Object passed to a Stub instance in order for it to actually communicate
with a remote object.
- stubToString() - Method in interface org.cojen.dirmi.core.StubSupport
-
Returns a partial toString implementation for the Stub.
- submit(Callable<T>) - Method in class org.cojen.dirmi.io.IOExecutor
-
- submit(Runnable, T) - Method in class org.cojen.dirmi.io.IOExecutor
-
- submit(Runnable) - Method in class org.cojen.dirmi.io.IOExecutor
-