|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Capacity.accepted()
or Integer.MAX_VALUE
.
MarkCall.markerPrototype
.
Agent.await(Object, long, TimeUnit)
and
related methods.AgentCall
from asynchronous calls.null
message
and
cause
.
message
and a null
cause
.
null
message
and a given
cause
.
message
and cause
.
Agent.mark(Object)
.CallState
.
false
.
Agent.await(Object)
and related methods.
AgentCall.await(CallState, long, TimeUnit)
.
Message.await(CallState, long, TimeUnit)
.
Message.await(CallState, long, TimeUnit)
.
Message.await(CallState, long, TimeUnit)
.
Awaiters
."(Z)Ljava/lang/Boolean;"
for Boolean.valueOf(int)
.
true
when the last attempt to acquire a task was
unsuccessful.
ProxyInfo
instances.
Object
argument values.
Object
result.
Agent.await(Object)
and related methods.
AgentCall
and delegates most functionality to this
message.
true
if the agent call is asynchronous and the interface
method returns an AgentCall
.
CallInfo
.
CallInfo
.
CallInfo
.
CallState
.
CallState
.
null
message
and
cause
.
message
and a null
cause
.
null
message
and a given
cause
.
message
and cause
.
CallSite
.false
.
Message.cancel(boolean)
.
true
if the task's type is annotated with Capacity
.
null
message
and
cause
.
message
and a null
cause
.
null
message
and a given
cause
.
message
and cause
.
Capacity
.ClassLoader
from ProxyFactory.loader
.
false
.
-1
if this timer
expires before the
other
timer, 1
if after, or 0
if
they expire at the same time.
null
message
and
cause
.
message
and a null
cause
.
null
message
and a given
cause
.
message
and cause
.
Agent.getConfig(Object, Object, Object)
.AgentConfig
.Controller
.
Controller
.
Mark
count value.Messenger
, if any, associated with the current thread.
null
if none.
ClassLoader
super class with the given
parent
.
AgentConfig.setData(Object)
.
DeadlockException
or notify
the set of blocked threads to perform their own deadcheck.
true
if
Awaiters.await(Awaiter, boolean, CallState, long)
should check
for deadlock.
Awaiters.await(Awaiter, boolean, CallState, long)
should check for deadlock.
Messages.DEADCHECK_TIMEOUT
in nanosecond units.
Messages.deadcheckTimeout
in nanosecond units.
Messages.deadcheckTimeout
.
null
message
and
cause
.
message
and a null
cause
.
null
message
and a given
cause
.
message
and cause
.
ICONST_0
for int
.
defineClass
method using an offset
of 0
and a length equal to bytes.length
.
DelegatingLoader.classLoader
.
defineClass
method to create a
generated class.
ClassLoader
.DelegatingLoader(instance.getClass().getClassLoader())
.
DelegatingLoader(type.getClassLoader())
.
classLoader
for
creating and loading generated classes.
Reentrant
task methods call
this method instead of Controller.send(Message)
.
void dispatch(Message)
and send
methods.
Message.dispatch(Object)
.
CallState
based on the hiearchy of
general to more specific configured listeners.
null
list of parameter types is the same as an empty list.
true
if there are no messages queued, accepted or
waiting.
true
if the queue has no messages.
true
if a CallKey
for the same method.
Throwable
to a
RuntimeException
and returns it.
AgentException
.
TypeInfo.methods
.
AgentCall.setException(Throwable)
.
Controller
to manage message expirations
(Expiration
).Expiration
timer.Expiration
.Expiration.timeout()
or Expirations.NIL
.
Expiration.unit()
or TimeUnit.NANOSECONDS
.
null
message
and
cause
.
message
and a null
cause
.
null
message
and a given
cause
.
message
and cause
.
timeout
value to nanoseconds and returns
the future expiration time in nanoseconds relative to the "current" time.
CallState.FINISHED
state.
CallState.FINISHED
state.
CallState.FINISHED
state.
CallState.FINISHED
state.
false
.
false
.
false
.
false
.
FINISHED
.
AgentCall.finish(boolean, boolean, Object, Throwable)
.
Message.finish(boolean, boolean, Object, Throwable)
.
Message.finish(boolean, boolean, Object, Throwable)
.
Message.finish(boolean, boolean, Object, Throwable)
.
Message.finish(boolean, boolean, Object, Throwable)
.
FixedTasks(Arrays.asList(tasks))
.
tasks
.
true
if the number of messages has reached this
queue's capacity.
true
if the agent call is asynchronous and the interface
method returns a Future
or AgentCall
.
true
if the agent call is asynchronous and the interface
method returns a Future
or AgentCall
.
Future
.
Future
references.Boolean.TYPE
.
Message.get(long, TimeUnit)
.
Message.get(long, TimeUnit)
.
MessageCall getCall()
method.
UnsupportedOperationException
.
Message.getArgument(int)
.
UnsupportedOperationException
.
Message.getArgumentCount()
.
Deadlocks
to keep track of which
agents are blocking which threads.
blockedThread
.
Controller.getBlockingThreads()
.
AgentCall
.
UnsupportedOperationException
.
message.info
.
state
.
state
.
UnsupportedOperationException
.
UnsupportedOperationException
.
state
.
null
if none.
null
if none.
this
.
classLoader
instance this instance was
constructed with.
UnsupportedOperationException
.
Message.getCompletion()
.
Agent.getConfig(Object, Object, Object)
and
related methods.
UnsupportedOperationException
.
Messages.getDeadcheckTimeout()
.
Messages.getDeadcheckTimeout()
in nanosecond units.
Config.getDeadcheckTimeout()
.
Executor
used for all new agents.
Agent.getDefaultExecutor()
.
UnsupportedOperationException
.
Message.getException()
.
UnsupportedOperationException
.
NANOSECONDS
until this call expires.
UnsupportedOperationException
.
NANOSECONDS
until the given call
expires.
Expirations.getExpirationTimeoutNanos(Message)
.
UnsupportedOperationException
.
method
.
name
and its JVM
descriptor
.
Agent.getLastCall(Object)
.
null
for a standard call.
Marker
.
Marker
.
null
) marker type.
types
.
Config.getPendingCapacity()
.
Messages.getPendingCapacity()
.
Message.getResult()
.
FINISHED
.
Message.getState()
.
Agent.getStats(Object)
.
Agent.getThisCall()
.
null
if empty.
Insider
.
InsiderTest.InsiderTestAgent
and Insider
.Reentrant
.false
.
true
if Message.getCompletion()
returns
CallCompletion.FUTURE_CANCELLED
.
true
if two interface methods' return types are
compatible.
true
if a deadcheck request is outstanding.
true
.
Message.isFinished()
.
true
if the awaiter is a Message
and it
is in the EXECUTING
state.
true
if the state is EXECUTING
.
true
if an execute
operation is
pending.
true
.
true
if the message's state is FINISHED
.
true
if this call site is asynchronous and the
interface method's return type is Future
or AgentCall
.
true
if an asynchronous call and the interface returns
Future
or AgentCall
.
true
if the task's method is annotated with
Reentrant
.
true
if task method is Reentrant
.
false
.
Message.isReentry()
.
true
if two interface method's return types are
the same class.
true
if the await condition has been satisfied.
true
if the current state is the same or later than
the given state.
true
if this call site is implicitly or explicitly
synchronous.
true
if an implicitly or explicitly synchronous call.
true
if this is a non-standard agent call.
true
if this is a non-standard call.
true
if the last call acquire
returned
null
.
STARTING
to the ordinal for FINISHED
.
CallStateListener
.Boolean.TYPE
, to their
corresponding BoxedInfo
instances.
MarkCall.controller
for later use by
MarkCall.call()
.
Marker
.Marker
.
Marker
.
Marker
.
MessageCall
.
Message
.
MessageFuture
's constructor.
MessageFuture
.
AgentCall
on behalf of a message.true
if messageFuture
is true
and
the interface method's return type is AgentCall
.
Future
calls to a Message
receiver.true
if the agent call is asynchronous and returns a future
value.
true
if the task method's return type is not
void
.
Message
instances.
Message
.true
if the agent call is synchronous.
Agent.newInstance(AgentLoader, Class[], AgentTasks, Class)
and related methods.
null
if the given
message is the last message.
null
call state listeners.
true
while the executor starts up a new messenger.
Capacity.pending()
or Integer.MAX_VALUE
.
Capacity.timeout()
or Long.MAX_VALUE
.
Capacity.unit()
or TimeUnit.NANOSECONDS
.
isBlocking
to include circular dependencies.
newInstance
.
null
if not owned.
true
if the task's method is annotated with
Reentrant
.
true
if the task's method is annotated with
Reentrant
.
Reentrant
.true
if this message is reentering the agent.
task
to our list of available tasks.
task
, making it available to be acquired
again.
type
) with information
from the given interface method.
UnsupportedOperationException
.
runnable
.
Controller.run(Messenger)
.
AtomicBoolean.compareAndSet(boolean, boolean)
.
ExpirationsTimer
.
Messages.pump()
.
UnsupportedOperationException
.
Message.setArgument(int, Object)
.
state
.
state
.
state
.
UnsupportedOperationException
.
UnsupportedOperationException
.
state
.
UnsupportedOperationException
.
UnsupportedOperationException
.
Message.setException(Throwable)
.
UnsupportedOperationException
.
Expirations.setExpirationTimeout(Message, long, TimeUnit)
.
UnsupportedOperationException
.
Message.setResult(Object)
.
task
) with information
from the given task method, and evaluates the interface and task method
information to derive the message field information (i.e., the fields of
this class whose names begin with message
).
task
.
true
if this message is ready to be executed.
true
if neither the tasks nor the executor is busy.
ClassWriter
and starts bytecode generation,
including definition of the message class's fields if any.
ClassWriter
and starts generation of the
proxy class.
false
and set to true
by the
controller when it pulls the message from the queue for dispatching.
Messengers.pending
flag.
Proxy
constructor.
Message
.
Proxy
.
Synchronous
).
true
if the call is implicitly or explicitly synchronous.
true
if the agent call is synchronous.
true
if this is a non-standard call.
AgentTasks
instance that performs the call.
true
if the task method's return type is a subclass of
Future
.
true
if the task method's return type is not
void
.
true
if the task method is annotated as
Synchronous
.
deadcheck()
method.
DeadLocks
class.
null
if
none.
ExpirationsTask.feed
are copied to this buffer while the
controller is locked so that they can be processed outside of the lock.
Config.toString()
.
true
if the interface method's return type is
AgentCall
.
true
if the interface method's return type is
Future
or AgentCall
.
"java/lang/Boolean"
for the java.lang.Boolean
class.
true
if the interface method's return type is
void
.
"()Z"
for Boolean.booleanValue()
.
booleanValue
for Boolean.booleanValue()
.
Agent.newInstance()
.
MethodWriter.visitInsn(int)
with the JVM opcode for returning a value
based on its type.
MethodWriter.visitVarInsn(int, int)
with the JVM opcode for loading a
value based on its type.
HelloWorld
.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |