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

A

AALOAD - Static variable in interface org.curjent.impl.asm.Opcodes
 
AASTORE - Static variable in interface org.curjent.impl.asm.Opcodes
 
ACC_FINAL - Static variable in interface org.curjent.impl.asm.Opcodes
 
ACC_PRIVATE - Static variable in interface org.curjent.impl.asm.Opcodes
 
ACC_PROTECTED - Static variable in interface org.curjent.impl.asm.Opcodes
 
ACC_PUBLIC - Static variable in interface org.curjent.impl.asm.Opcodes
 
ACC_STATIC - Static variable in interface org.curjent.impl.asm.Opcodes
 
ACC_SUPER - Static variable in interface org.curjent.impl.asm.Opcodes
 
ACC_SYNCHRONIZED - Static variable in interface org.curjent.impl.asm.Opcodes
 
ACC_VOLATILE - Static variable in interface org.curjent.impl.asm.Opcodes
 
accepted - Variable in class org.curjent.impl.agent.Messages
Queue of accepted messages.
ACCEPTED_DEFAULT - Static variable in class org.curjent.test.agent.CapacityTest
 
acceptedCapacity - Variable in class org.curjent.impl.agent.ProxyInfo
Value from Capacity.accepted() or Integer.MAX_VALUE.
acceptedCapacity - Variable in class org.curjent.impl.agent.Stats
 
access - Variable in class org.curjent.impl.asm.ClassWriter
The access flags of this class.
access - Variable in class org.curjent.impl.asm.FieldWriter
Access flags of this field.
access - Variable in class org.curjent.impl.asm.MethodWriter
Access flags of this method.
ACONST_NULL - Static variable in interface org.curjent.impl.asm.Opcodes
 
acquire() - Method in interface org.curjent.agent.AgentTasks
Acquires a task.
acquire() - Method in class org.curjent.agent.DynamicTasks
Acquires a task.
acquire() - Method in class org.curjent.agent.FixedTasks
Removes and returns a task from our list of tasks.
acquire() - Method in class org.curjent.agent.ReusableTask
Increments the number of outstanding acquires and returns the reusable task.
acquire() - Method in class org.curjent.agent.SingletonTask
Returns the task used to construct this singleton.
acquireCount - Variable in class org.curjent.agent.DynamicTasks
Number of acquired tasks.
acquireMax - Variable in class org.curjent.agent.DynamicTasks
Maximum number of tasks that can be acquired.
addConstructor(ClassWriter) - Method in class org.curjent.impl.agent.MessageFactory
Generates the message class's constructor.
addConstructor(ClassWriter) - Method in class org.curjent.impl.agent.ProxyFactory
Generates the proxy's constructor.
addDispatcher(MethodInfo, ClassWriter) - Method in class org.curjent.impl.agent.MessageFactory
Generates the message class's dispatch method.
addGetArgumentMethod(MethodInfo, ClassWriter) - Method in class org.curjent.impl.agent.MessageFactory
Generates the get argument method.
addGetResultMethod(MethodInfo, ClassWriter) - Method in class org.curjent.impl.agent.MessageFactory
Generates the get result method.
addMarker(MarkerType, String) - Static method in class org.curjent.impl.agent.MarkCall
Initializes a prototype call site and adds it to MarkCall.markerPrototype.
addMethod(ClassWriter, MethodInfo, int) - Method in class org.curjent.impl.agent.ProxyFactory
Generates a method for the proxy.
addReference(int, int) - Method in class org.curjent.impl.asm.Label
Adds a forward reference to this label.
addSetArgumentMethod(MethodInfo, ClassWriter) - Method in class org.curjent.impl.agent.MessageFactory
Generates the set argument method.
addSetResultMethod(MethodInfo, ClassWriter) - Method in class org.curjent.impl.agent.MessageFactory
Generates the set result method.
Agent - Class in org.curjent.agent
Agent creation and configuration.
Agent() - Constructor for class org.curjent.agent.Agent
Singleton class of static methods only.
agent - Variable in class org.curjent.test.agent.AgentAwaitTest
 
agent - Variable in class org.curjent.test.agent.AgentAwaitTest.AgentAwaitTestTask
 
agent - Variable in class org.curjent.test.agent.AgentCallTest
 
agent - Variable in class org.curjent.test.agent.AgentMarkTest
 
agent - Variable in class org.curjent.test.agent.AgentTest
 
agent - Variable in class org.curjent.test.agent.AgentTest.Context
 
agent - Variable in class org.curjent.test.agent.CallSiteTest
 
agent - Variable in class org.curjent.test.agent.CapacityTest
 
agent - Variable in class org.curjent.test.agent.ConfigLockTest
 
agent - Variable in class org.curjent.test.agent.ConfigTest
 
agent - Variable in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
agent - Variable in class org.curjent.test.agent.DeadlockTest
 
agent - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
agent - Variable in class org.curjent.test.agent.ExpirationTest
 
agent - Variable in class org.curjent.test.agent.FutureTest
 
agent - Variable in class org.curjent.test.agent.InsiderTest
 
agent - Variable in class org.curjent.test.agent.InterruptTest
 
agent - Variable in class org.curjent.test.agent.ListenerTest
 
agent - Variable in class org.curjent.test.agent.MultiTaskTest
 
agent - Variable in class org.curjent.test.agent.ProxyTest
 
agent - Variable in class org.curjent.test.agent.ReentrantTest
 
AgentAwaitTest - Class in org.curjent.test.agent
Tests for Agent.await(Object, long, TimeUnit) and related methods.
AgentAwaitTest() - Constructor for class org.curjent.test.agent.AgentAwaitTest
 
AgentAwaitTest.AgentAwaitTestAgent - Interface in org.curjent.test.agent
 
AgentAwaitTest.AgentAwaitTestTask - Class in org.curjent.test.agent
 
AgentAwaitTest.AgentAwaitTestTask() - Constructor for class org.curjent.test.agent.AgentAwaitTest.AgentAwaitTestTask
 
AgentCall<V> - Interface in org.curjent.agent
Monitor and control an agent call.
AgentCallTest - Class in org.curjent.test.agent
Tests for AgentCall from asynchronous calls.
AgentCallTest() - Constructor for class org.curjent.test.agent.AgentCallTest
 
AgentCallTest.AgentCallTestAgent - Interface in org.curjent.test.agent
 
AgentCallTest.AgentCallTestTask - Class in org.curjent.test.agent
 
AgentCallTest.AgentCallTestTask() - Constructor for class org.curjent.test.agent.AgentCallTest.AgentCallTestTask
 
AgentConfig - Interface in org.curjent.agent
Configure an agent.
AgentException - Exception in org.curjent.agent
Generic agent exception and wrapper for undeclared checked exceptions.
AgentException() - Constructor for exception org.curjent.agent.AgentException
Exception with a null message and cause.
AgentException(String) - Constructor for exception org.curjent.agent.AgentException
Exception with a given message and a null cause.
AgentException(Throwable) - Constructor for exception org.curjent.agent.AgentException
Exception with a null message and a given cause.
AgentException(String, Throwable) - Constructor for exception org.curjent.agent.AgentException
Exception with a given message and cause.
AgentLoader - Interface in org.curjent.agent
Creates a generated class.
AgentMark - Interface in org.curjent.agent
Synthetic mark for tracing the progress of an agent's calls.
AgentMarkTest - Class in org.curjent.test.agent
Tests for Agent.mark(Object).
AgentMarkTest() - Constructor for class org.curjent.test.agent.AgentMarkTest
 
AgentMarkTest.AgentMarkTestAgent - Interface in org.curjent.test.agent
 
AgentMarkTest.AgentMarkTestTask - Class in org.curjent.test.agent
 
AgentMarkTest.AgentMarkTestTask() - Constructor for class org.curjent.test.agent.AgentMarkTest.AgentMarkTestTask
 
AgentResult<V> - Class in org.curjent.agent
Holder for a future's value.
AgentResult(V) - Constructor for class org.curjent.agent.AgentResult
Saves the result's value.
Agents - Class in org.curjent.example.agent.factory
Example application factory methods.
Agents() - Constructor for class org.curjent.example.agent.factory.Agents
 
AgentStats - Interface in org.curjent.agent
Statistics for an agent.
AgentTasks - Interface in org.curjent.agent
Source for agent tasks.
agentTasks - Static variable in class org.curjent.test.agent.MultiTaskTest
 
AgentTest - Class in org.curjent.test.agent
Base class for agent test cases.
AgentTest() - Constructor for class org.curjent.test.agent.AgentTest
 
AgentTest.Context - Class in org.curjent.test.agent
 
AgentTest.Context() - Constructor for class org.curjent.test.agent.AgentTest.Context
 
AgentTest.Context(TestAgent) - Constructor for class org.curjent.test.agent.AgentTest.Context
 
AllTests - Class in org.curjent.test
Runs all JUnit test cases.
AllTests() - Constructor for class org.curjent.test.AllTests
 
ALOAD - Static variable in interface org.curjent.impl.asm.Opcodes
 
ARETURN - Static variable in interface org.curjent.impl.asm.Opcodes
 
arg0 - Variable in class org.curjent.test.agent.asmify.CopyMessage_Copy
 
arg0 - Variable in class org.curjent.test.agent.asmify.CopyMessage_Exists
 
arg0 - Variable in class org.curjent.test.agent.asmify.CopyMessage_File
 
arg0 - Variable in class org.curjent.test.agent.asmify.CopyMessage_Flush
 
arg0 - Variable in class org.curjent.test.agent.asmify.CopyMessage_Length
 
arg0 - Variable in class org.curjent.test.agent.asmify.CopyMessage_Read
 
arg0 - Variable in class org.curjent.test.agent.asmify.CopyMessage_Status
 
arg1 - Variable in class org.curjent.test.agent.asmify.CopyMessage_Copy
 
arg1 - Variable in class org.curjent.test.agent.asmify.CopyMessage_Read
 
ASM_CLASS_SUFFIX - Static variable in class org.curjent.test.agent.asmify.GenerateAsm
Suffix used for asmified classes.
ASM_FILENAME_PATTERN - Static variable in class org.curjent.test.agent.asmify.GenerateAsm
Pattern for matching asmified file names.
ASM_JAR_FILE - Static variable in class org.curjent.test.agent.asmify.GenerateAsm
Project's ASM JAR file.
asmFile(File) - Method in class org.curjent.test.agent.asmify.GenerateAsm
Returns the Asm file name for a source file.
asmify(String, String) - Method in class org.curjent.test.agent.asmify.GenerateAsm
Asmify the given file.
ASMIFY_DIR - Static variable in class org.curjent.test.agent.asmify.GenerateAsm
Project's directory for the asmified files.
assigned - Variable in class org.curjent.impl.agent.CallInfo
Configured listeners for each CallState.
assigned - Variable in class org.curjent.impl.agent.MarkCall
Call state listeners.
assigned - Variable in class org.curjent.impl.agent.MessageCall
Call's assigned state listeners.
ASTORE - Static variable in interface org.curjent.impl.asm.Opcodes
 
ATHROW - Static variable in interface org.curjent.impl.asm.Opcodes
 
await(Object) - Static method in class org.curjent.agent.Agent
Waits for an agent to finish executing all prior calls.
await(Object, long, TimeUnit) - Static method in class org.curjent.agent.Agent
Waits a specified period for an agent to finish executing all prior calls.
await(Object...) - Static method in class org.curjent.agent.Agent
Waits for a list of agents to finish executing all prior calls.
await() - Method in interface org.curjent.agent.AgentCall
Waits indefinitely for this call to finish.
await(CallState) - Method in interface org.curjent.agent.AgentCall
Waits indefinitely for this call to reach or pass the given state.
await(CallState, long, TimeUnit) - Method in interface org.curjent.agent.AgentCall
Waits for this call to reach or pass the given state.
await() - Method in class org.curjent.agent.AgentResult
Does nothing.
await(CallState) - Method in class org.curjent.agent.AgentResult
Does nothing.
await(CallState, long, TimeUnit) - Method in class org.curjent.agent.AgentResult
Does nothing and returns false.
await(Object...) - Static method in class org.curjent.example.agent.factory.Agents
 
await(FileCopy) - Method in interface org.curjent.example.agent.filecopy.FileCopyFactory
 
await(FileCopy) - Method in interface org.curjent.example.agent.filecopy.FileVerifyFactory
 
await(long) - Method in interface org.curjent.impl.agent.Awaiter
Called within the locked and synchronized await block to suspend the current thread until notified or the given timeout value has expired.
await(Awaiter, boolean, CallState, long) - Static method in class org.curjent.impl.agent.Awaiters
Common await implementation.
await(Proxy, long, TimeUnit) - Static method in class org.curjent.impl.agent.MarkCall
Helper method for Agent.await(Object) and related methods.
await(CallState, long, TimeUnit) - Method in class org.curjent.impl.agent.Message
Implementation for AgentCall.await(CallState, long, TimeUnit).
await(long) - Method in class org.curjent.impl.agent.Message
Waits on this message's monitor.
await() - Method in class org.curjent.impl.agent.Message
Used by the agent's proxy to implement a synchronous call.
await() - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.await(CallState, long, TimeUnit).
await(CallState) - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.await(CallState, long, TimeUnit).
await(CallState, long, TimeUnit) - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.await(CallState, long, TimeUnit).
await(CountDownLatch) - Method in interface org.curjent.test.agent.AgentAwaitTest.AgentAwaitTestAgent
 
await() - Method in interface org.curjent.test.agent.AgentAwaitTest.AgentAwaitTestAgent
 
await(CountDownLatch) - Method in class org.curjent.test.agent.AgentAwaitTest.AgentAwaitTestTask
 
await() - Method in class org.curjent.test.agent.AgentAwaitTest.AgentAwaitTestTask
 
await(CountDownLatch) - Method in interface org.curjent.test.agent.CapacityTest.CapacityTestAgent
 
await(CountDownLatch, CountDownLatch) - Method in interface org.curjent.test.agent.CapacityTest.CapacityTestAgent
 
await(CountDownLatch) - Method in class org.curjent.test.agent.CapacityTest.CapacityTestTask
 
await(CountDownLatch, CountDownLatch) - Method in class org.curjent.test.agent.CapacityTest.CapacityTestTask
 
awaitAll(Object...) - Static method in class org.curjent.agent.Agent
Waits in parallel for a list of agents to finish executing all prior calls.
Awaiter - Interface in org.curjent.impl.agent
Interface for await logic implemented by Awaiters.
Awaiters - Class in org.curjent.impl.agent
Common await implementations.
Awaiters() - Constructor for class org.curjent.impl.agent.Awaiters
 
awaitFeed(long) - Method in class org.curjent.impl.agent.ExpirationsTask
Waits for new timers to queue, or for the given timeout period.
awaitPending(long) - Method in class org.curjent.impl.agent.Message
Used by the controller to wait for the agent to accept this message.
awaitWithTimeout() - Method in interface org.curjent.test.agent.AgentAwaitTest.AgentAwaitTestAgent
 
awaitWithTimeout() - Method in class org.curjent.test.agent.AgentAwaitTest.AgentAwaitTestTask
 

B

BASE - Static variable in class org.curjent.impl.agent.ExpirationsTimer
Relative system nanoseconds at the time this class is initialized.
BIPUSH - Static variable in interface org.curjent.impl.asm.Opcodes
 
blocked - Variable in class org.curjent.impl.agent.Controller
Set of blocked messages with associated reference counts.
blocked(Awaiter, boolean) - Method in class org.curjent.impl.agent.Controller
Notification that an awaiter is waiting.
blocked - Variable in class org.curjent.impl.agent.Deadlocks
Maps blocked threads to the messages they are waiting on.
blocked(Awaiter, boolean) - Method in class org.curjent.impl.agent.Deadlocks
Notification from an awaiter that it is blocked.
boxed - Variable in class org.curjent.impl.agent.ParamInfo
Primitive value boxing and unboxing information for the message field's type.
BoxedInfo - Class in org.curjent.impl.agent
Information for bytecode generation of primitive boxing and unboxing.
BoxedInfo(String, String, String, String, int) - Constructor for class org.curjent.impl.agent.BoxedInfo
Saves the boxed information the given type.
boxingDescriptor - Variable in class org.curjent.impl.agent.BoxedInfo
The JVM method descriptor for boxing a primitive, such as "(Z)Ljava/lang/Boolean;" for Boolean.valueOf(int).
busy - Variable in class org.curjent.impl.agent.Messengers
true when the last attempt to acquire a task was unsuccessful.
ByteVector - Class in org.curjent.impl.asm
A dynamically extensible vector of bytes.
ByteVector() - Constructor for class org.curjent.impl.asm.ByteVector
Constructs a new { @link ByteVector ByteVector} with a default initial size.
ByteVector(int) - Constructor for class org.curjent.impl.asm.ByteVector
Constructs a new { @link ByteVector ByteVector} with the given initial size.

C

cache - Variable in class org.curjent.impl.agent.ProxyCache
Maps class loaders and proxy keys to cached ProxyInfo instances.
cache - Static variable in class org.curjent.impl.agent.ProxyFactory
Caches the generated proxies' constructors.
cachedArguments - Variable in class org.curjent.impl.agent.Message
Cached Object argument values.
cachedResult - Variable in class org.curjent.impl.agent.Message
Cached Object result.
cacheMax - Variable in class org.curjent.agent.DynamicTasks
Maximum number of tasks that can be cached.
call() - Method in interface org.curjent.agent.AgentMark
Adds a mark to the agent's queue.
call - Variable in exception org.curjent.agent.CapacityExceededException
Canceled call.
call - Variable in exception org.curjent.agent.ExpiredException
Call that expired.
call(Proxy) - Static method in class org.curjent.impl.agent.MarkCall
Helper method for Agent.await(Object) and related methods.
call() - Method in class org.curjent.impl.agent.MarkCall
Creates and initializes a new synthetic message with the current configuration settings.
call - Variable in class org.curjent.impl.agent.Message
Implements AgentCall and delegates most functionality to this message.
call - Variable in class org.curjent.impl.agent.MethodInfo
true if the agent call is asynchronous and the interface method returns an AgentCall.
call0 - Variable in class org.curjent.test.agent.asmify.CopyProxy
 
call1 - Variable in class org.curjent.test.agent.asmify.CopyProxy
 
call2 - Variable in class org.curjent.test.agent.asmify.CopyProxy
 
call3 - Variable in class org.curjent.test.agent.asmify.CopyProxy
 
call4 - Variable in class org.curjent.test.agent.asmify.CopyProxy
 
call5 - Variable in class org.curjent.test.agent.asmify.CopyProxy
 
call6 - Variable in class org.curjent.test.agent.asmify.CopyProxy
 
call7 - Variable in class org.curjent.test.agent.asmify.CopyProxy
 
CALL_INFO_ARRAY_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for array of CallInfo.
CALL_INFO_DESCRIPTOR - Static variable in class org.curjent.impl.agent.MessageFactory
Internal JVM descriptor for CallInfo.
CALL_INFO_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for CallInfo.
CALL_STATE_DESCRIPTOR - Static variable in class org.curjent.impl.agent.MessageFactory
Internal JVM descriptor for CallState.
CALL_STATE_INTERNAL - Static variable in class org.curjent.impl.agent.MessageFactory
Internal JVM name for CallState.
CallCompletion - Enum in org.curjent.agent
Reason codes for why a call finished.
CallCompletion() - Constructor for enum org.curjent.agent.CallCompletion
 
CallInfo - Class in org.curjent.impl.agent
Information for an agent's call site.
CallInfo(MethodInfo) - Constructor for class org.curjent.impl.agent.CallInfo
Initialization of the cached prototype.
CallInfo(Method, Method, MarkerType) - Constructor for class org.curjent.impl.agent.CallInfo
Initialization of a cached prototype for a synthetic marker method.
CallInfo(Controller, CallInfo) - Constructor for class org.curjent.impl.agent.CallInfo
Creates a new instance for a new agent based on the cached prototype.
CallKey - Class in org.curjent.impl.agent
Key to map interface methods to call sites.
CallKey(Method) - Constructor for class org.curjent.impl.agent.CallKey
Unique key for a given method.
CallKey(String, Class<?>, Class<?>[]) - Constructor for class org.curjent.impl.agent.CallKey
Unique key for a method's name, result, and parameters.
calls - Variable in class org.curjent.impl.agent.Config
Call site state, metadata, and configuration.
calls - Variable in class org.curjent.impl.agent.Expirations
Agent's call sites used for configuring site-specific default expirations.
calls - Variable in class org.curjent.impl.agent.ProxyInfo
Runtime call site information for each interface method.
CallSite - Interface in org.curjent.agent
Metadata and configuration for an agent's method.
CallSiteNotFoundException - Exception in org.curjent.agent
Lookup for an agent's call site failed.
CallSiteNotFoundException() - Constructor for exception org.curjent.agent.CallSiteNotFoundException
Exception with a null message and cause.
CallSiteNotFoundException(String) - Constructor for exception org.curjent.agent.CallSiteNotFoundException
Exception with a given message and a null cause.
CallSiteNotFoundException(Throwable) - Constructor for exception org.curjent.agent.CallSiteNotFoundException
Exception with a null message and a given cause.
CallSiteNotFoundException(String, Throwable) - Constructor for exception org.curjent.agent.CallSiteNotFoundException
Exception with a given message and cause.
CallSiteTest - Class in org.curjent.test.agent
Tests for CallSite.
CallSiteTest() - Constructor for class org.curjent.test.agent.CallSiteTest
 
CallSiteTest.BaseInterface - Interface in org.curjent.test.agent
 
CallSiteTest.CallSiteTestAgent - Interface in org.curjent.test.agent
 
CallSiteTest.CallSiteTestTask - Class in org.curjent.test.agent
 
CallSiteTest.CallSiteTestTask() - Constructor for class org.curjent.test.agent.CallSiteTest.CallSiteTestTask
 
CallState - Enum in org.curjent.agent
Execution state of a call.
CallState() - Constructor for enum org.curjent.agent.CallState
 
callStateChanged(AgentCall<V>, CallState) - Method in interface org.curjent.agent.CallStateListener
Notification that a call's state has changed.
callStateChanged(AgentCall<Void>, CallState) - Method in class org.curjent.example.agent.filecopy.FileVerifyListener
 
CallStateListener<V> - Interface in org.curjent.agent
Validate, monitor and control call state transitions.
cancel(boolean) - Method in class org.curjent.agent.AgentResult
Does nothing and returns false.
cancel(boolean) - Method in class org.curjent.impl.agent.Message
Attempts to cancel the call's execution.
cancel(boolean) - Method in class org.curjent.impl.agent.MessageFuture
Delegates to Message.cancel(boolean).
Capacity - Annotation Type in org.curjent.agent
Specifies the maximum number of messages an agent accepts for processing.
capacity - Variable in class org.curjent.impl.agent.Queue
Current queue capacity.
capacity() - Method in class org.curjent.impl.agent.Queue
Returns the queue's capacity.
capacity(int) - Method in class org.curjent.impl.agent.Queue
Sets the queue's capacity.
capacityAnnotation - Variable in class org.curjent.impl.agent.ProxyInfo
true if the task's type is annotated with Capacity.
CapacityExceededException - Exception in org.curjent.agent
Number of accepted and/or pending calls has exceeded an agent's configured capacity.
CapacityExceededException(AgentCall<?>) - Constructor for exception org.curjent.agent.CapacityExceededException
Canceled call.
CapacityExceededException() - Constructor for exception org.curjent.agent.CapacityExceededException
Exception with a null message and cause.
CapacityExceededException(String) - Constructor for exception org.curjent.agent.CapacityExceededException
Exception with a given message and a null cause.
CapacityExceededException(Throwable) - Constructor for exception org.curjent.agent.CapacityExceededException
Exception with a null message and a given cause.
CapacityExceededException(String, Throwable) - Constructor for exception org.curjent.agent.CapacityExceededException
Exception with a given message and cause.
CapacityTest - Class in org.curjent.test.agent
Tests for Capacity.
CapacityTest() - Constructor for class org.curjent.test.agent.CapacityTest
 
CapacityTest.CapacityTestAgent - Interface in org.curjent.test.agent
 
CapacityTest.CapacityTestTask - Class in org.curjent.test.agent
 
CapacityTest.CapacityTestTask() - Constructor for class org.curjent.test.agent.CapacityTest.CapacityTestTask
 
cast(AgentCall<?>) - Method in class org.curjent.test.agent.AgentCallTest
 
check(String) - Method in class org.curjent.example.agent.filecopy.FileVerifyTask
 
CHECKCAST - Static variable in interface org.curjent.impl.asm.Opcodes
 
CLASS - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_Class constant pool items.
CLASS_FILE_DIR - Static variable in class org.curjent.test.agent.asmify.GenerateAsm
Project's output directory for compiled class files.
classLoader - Variable in class org.curjent.agent.DelegatingLoader
Class loader whose 'defineClass' method is called.
classLoader - Variable in class org.curjent.impl.agent.ProxyFactory
ClassLoader from ProxyFactory.loader.
className(File) - Method in class org.curjent.test.agent.asmify.GenerateAsm
Returns the corresponding class name of a source file.
classpath(File) - Method in class org.curjent.test.agent.asmify.GenerateAsm
Returns the CLASSPATH for running the asmifier.
CLASSPATH_SEPARATOR - Static variable in class org.curjent.test.agent.asmify.GenerateAsm
Separator for directory and JAR paths in CLASSPATH.
ClassWriter - Class in org.curjent.impl.asm
A { @link ClassVisitor} that generates classes in bytecode form.
ClassWriter(int) - Constructor for class org.curjent.impl.asm.ClassWriter
Constructs a new { @link ClassWriter} object.
clearDeadcheckRequest() - Method in interface org.curjent.impl.agent.Awaiter
Sets the logical "deadcheck requested" flag to false.
clearDeadcheckRequest() - Method in class org.curjent.impl.agent.Message
Clears any outstanding deadcheck request.
code - Variable in class org.curjent.impl.asm.MethodWriter
The bytecode of this method.
compareTo(ExpirationsTimer) - Method in class org.curjent.impl.agent.ExpirationsTimer
Returns -1 if this timer expires before the other timer, 1 if after, or 0 if they expire at the same time.
completion - Variable in class org.curjent.impl.agent.Message
Reason the message finished.
compute(DeadlockTest.DeadlockTestAgent, DeadlockTest.DeadlockTestAgent) - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
compute(DeadlockTest.DeadlockTestAgent, DeadlockTest.DeadlockTestAgent) - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
Config - Class in org.curjent.impl.agent
Returned on behalf of the controller to avoid synchronization conflicts on the controller.
Config(Controller, AgentLoader, Class<?>[], Class<?>) - Constructor for class org.curjent.impl.agent.Config
Manages many of the controller's configuration requirements directly.
config - Variable in class org.curjent.impl.agent.Controller
External agent configuration.
config - Variable in class org.curjent.test.agent.AgentTest
 
config - Variable in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
ConfigLockedException - Exception in org.curjent.agent
Agent's configuration is locked.
ConfigLockedException() - Constructor for exception org.curjent.agent.ConfigLockedException
Exception with a null message and cause.
ConfigLockedException(String) - Constructor for exception org.curjent.agent.ConfigLockedException
Exception with a given message and a null cause.
ConfigLockedException(Throwable) - Constructor for exception org.curjent.agent.ConfigLockedException
Exception with a null message and a given cause.
ConfigLockedException(String, Throwable) - Constructor for exception org.curjent.agent.ConfigLockedException
Exception with a given message and cause.
ConfigLockTest - Class in org.curjent.test.agent
Tests for Agent.getConfig(Object, Object, Object).
ConfigLockTest() - Constructor for class org.curjent.test.agent.ConfigLockTest
 
ConfigLockTest.ConfigLockTestAgent - Interface in org.curjent.test.agent
 
ConfigLockTest.ConfigLockTestTask - Class in org.curjent.test.agent
 
ConfigLockTest.ConfigLockTestTask() - Constructor for class org.curjent.test.agent.ConfigLockTest.ConfigLockTestTask
 
ConfigTest - Class in org.curjent.test.agent
Unit tests for AgentConfig.
ConfigTest() - Constructor for class org.curjent.test.agent.ConfigTest
 
ConfigTest.ConfigTestAgent - Interface in org.curjent.test.agent
 
ConfigTest.ConfigTestTask - Class in org.curjent.test.agent
 
ConfigTest.ConfigTestTask() - Constructor for class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
connect() - Method in class org.curjent.example.agent.ftpxfer.FTPTransferClient
 
constructor - Variable in class org.curjent.impl.agent.ProxyInfo
Proxy's constructor.
CONSTRUCTOR_PARAMS - Static variable in class org.curjent.impl.agent.ProxyFactory
Proxy constructor's parameter types.
controller - Variable in class org.curjent.impl.agent.CallInfo
The controller instance for this call site.
controller - Variable in class org.curjent.impl.agent.Config
Agent's configured controller.
Controller - Class in org.curjent.impl.agent
Coordinates the inner workings of the agent.
Controller(AgentLoader, Class<?>[], AgentTasks, Class<?>) - Constructor for class org.curjent.impl.agent.Controller
Initializes the controller.
controller - Variable in class org.curjent.impl.agent.ExpirationsTask
Owning controller.
controller - Variable in class org.curjent.impl.agent.Listeners
Owning controller.
controller - Variable in class org.curjent.impl.agent.MarkCall
The agent's controller.
controller - Variable in class org.curjent.impl.agent.Message
Agent's controller for this message.
controller - Variable in class org.curjent.impl.agent.Messenger
The messenger's controller.
controller - Variable in class org.curjent.impl.agent.Proxy
Reference to the associated controller.
CONTROLLER_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for Controller.
CONTROLLER_INTERNAL - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM name for Controller.
copy(String, String) - Method in interface org.curjent.example.agent.filecopy.FileCopy
 
copy(String, String) - Method in class org.curjent.example.agent.filecopy.FileCopyTask
 
copy(FileCopy, File, File) - Static method in class org.curjent.example.agent.filecopy.FileCopyTest
 
Copy - Interface in org.curjent.test.agent.asmify
 
copy(String, String) - Method in interface org.curjent.test.agent.asmify.Copy
 
copy(String, String) - Method in class org.curjent.test.agent.asmify.CopyProxy
 
copy(String, String) - Method in class org.curjent.test.agent.asmify.CopyTask
 
CopyMessage_Copy - Class in org.curjent.test.agent.asmify
 
CopyMessage_Copy(CallInfo) - Constructor for class org.curjent.test.agent.asmify.CopyMessage_Copy
 
CopyMessage_Count - Class in org.curjent.test.agent.asmify
 
CopyMessage_Count(CallInfo) - Constructor for class org.curjent.test.agent.asmify.CopyMessage_Count
 
CopyMessage_Exists - Class in org.curjent.test.agent.asmify
 
CopyMessage_Exists(CallInfo) - Constructor for class org.curjent.test.agent.asmify.CopyMessage_Exists
 
CopyMessage_File - Class in org.curjent.test.agent.asmify
 
CopyMessage_File(CallInfo) - Constructor for class org.curjent.test.agent.asmify.CopyMessage_File
 
CopyMessage_Flush - Class in org.curjent.test.agent.asmify
 
CopyMessage_Flush(CallInfo) - Constructor for class org.curjent.test.agent.asmify.CopyMessage_Flush
 
CopyMessage_Length - Class in org.curjent.test.agent.asmify
 
CopyMessage_Length(CallInfo) - Constructor for class org.curjent.test.agent.asmify.CopyMessage_Length
 
CopyMessage_Read - Class in org.curjent.test.agent.asmify
 
CopyMessage_Read(CallInfo) - Constructor for class org.curjent.test.agent.asmify.CopyMessage_Read
 
CopyMessage_Status - Class in org.curjent.test.agent.asmify
 
CopyMessage_Status(CallInfo) - Constructor for class org.curjent.test.agent.asmify.CopyMessage_Status
 
CopyProxy - Class in org.curjent.test.agent.asmify
 
CopyProxy(Controller, CallInfo[]) - Constructor for class org.curjent.test.agent.asmify.CopyProxy
 
CopyTask - Class in org.curjent.test.agent.asmify
 
CopyTask() - Constructor for class org.curjent.test.agent.asmify.CopyTask
 
CopyTest - Class in org.curjent.test.agent.asmify
 
CopyTest() - Constructor for class org.curjent.test.agent.asmify.CopyTest
 
copyTest() - Method in class org.curjent.test.agent.asmify.CopyTest
 
count - Variable in class org.curjent.agent.ReusableTask
Keeps track of how many times the task has been acquired.
Count - Class in org.curjent.impl.agent
Sharable holder for the Mark count value.
Count() - Constructor for class org.curjent.impl.agent.Count
 
count - Variable in class org.curjent.impl.agent.Mark
Number of messages associated with the mark, including the terminal marker message if any.
count - Variable in class org.curjent.impl.agent.Queue
Current message count.
count() - Method in class org.curjent.impl.agent.Queue
Returns the number of queued messages.
count() - Method in interface org.curjent.test.agent.asmify.Copy
 
count() - Method in class org.curjent.test.agent.asmify.CopyProxy
 
count() - Method in class org.curjent.test.agent.asmify.CopyTask
 
count - Variable in class org.curjent.test.agent.CapacityTest.CapacityTestTask
 
count - Variable in class org.curjent.test.agent.ReentrantTest.ReentrantTestTask
 
countDownAndWait(CountDownLatch) - Method in interface org.curjent.test.agent.MultiTaskTest.MultiAgent
 
countDownAndWait(CountDownLatch) - Method in class org.curjent.test.agent.MultiTaskTest.MultiTask
 
create() - Method in class org.curjent.agent.DynamicTasks
Creates a new task.
createClass(MethodInfo) - Method in class org.curjent.impl.agent.MessageFactory
Creates the message class for the given interface method.
createClass() - Method in class org.curjent.impl.agent.ProxyFactory
Generates and creates the proxy and message classes.
current - Static variable in class org.curjent.impl.agent.Messengers
The Messenger, if any, associated with the current thread.
current() - Static method in class org.curjent.impl.agent.Messengers
Returns the messenger associated with the current thread or null if none.
currentAccepted - Variable in class org.curjent.impl.agent.Stats
 
currentExecuting - Variable in class org.curjent.impl.agent.Stats
 
currentPending - Variable in class org.curjent.impl.agent.Stats
 
CustomLoader - Class in org.curjent.agent
Custom class loader.
CustomLoader(ClassLoader) - Constructor for class org.curjent.agent.CustomLoader
Initializes the ClassLoader super class with the given parent.
cw - Variable in class org.curjent.impl.asm.MethodWriter
The class writer to which this method must be added.

D

data - Variable in class org.curjent.impl.agent.CallInfo
Client data for this call site.
data - Variable in class org.curjent.impl.agent.Config
Value of AgentConfig.setData(Object).
data - Variable in class org.curjent.impl.agent.MessageCall
Client data for this message.
data - Variable in class org.curjent.impl.asm.ByteVector
The content of this vector.
DCONST_0 - Static variable in interface org.curjent.impl.asm.Opcodes
 
deadcheck() - Method in interface org.curjent.impl.agent.Awaiter
Signals awaiting threads to check for deadlock.
deadcheck() - Method in class org.curjent.impl.agent.Deadlocks
Called by an awaiter to see if the waiting thread has deadlocked.
deadcheck(Thread, HashSet<Thread>) - Method in class org.curjent.impl.agent.Deadlocks
Determines whether to throw a DeadlockException or notify the set of blocked threads to perform their own deadcheck.
deadcheck - Variable in class org.curjent.impl.agent.Message
Set to true if Awaiters.await(Awaiter, boolean, CallState, long) should check for deadlock.
deadcheck() - Method in class org.curjent.impl.agent.Message
Notification that Awaiters.await(Awaiter, boolean, CallState, long) should check for deadlock.
DEADCHECK_TIMEOUT - Static variable in class org.curjent.impl.agent.Messages
Default timeout in seconds before a waiting thread checks for deadlock.
DEADCHECK_TIMEOUT_NANOS - Static variable in class org.curjent.impl.agent.Messages
Messages.DEADCHECK_TIMEOUT in nanosecond units.
deadcheckBlocked() - Method in class org.curjent.impl.agent.Controller
Signals blocked messages to check for deadlock.
deadcheckNanos - Variable in class org.curjent.impl.agent.Messages
Messages.deadcheckTimeout in nanosecond units.
deadcheckTimeout - Variable in class org.curjent.impl.agent.Messages
Timeout before a waiting thread checks for deadlock.
deadcheckTimeout - Variable in class org.curjent.impl.agent.Stats
 
deadcheckUnit - Variable in class org.curjent.impl.agent.Messages
Time unit for Messages.deadcheckTimeout.
deadcheckUnit - Variable in class org.curjent.impl.agent.Stats
 
deadlock - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
deadlocked(Thread, HashSet<Thread>, HashMap<Thread, HashSet<Thread>>) - Method in class org.curjent.impl.agent.Deadlocks
Checks if a thread and the threads blocking it are all deadlocked.
DeadlockException - Exception in org.curjent.agent
Two or more synchronous agent calls have deadlocked.
DeadlockException() - Constructor for exception org.curjent.agent.DeadlockException
Exception with a null message and cause.
DeadlockException(String) - Constructor for exception org.curjent.agent.DeadlockException
Exception with a given message and a null cause.
DeadlockException(Throwable) - Constructor for exception org.curjent.agent.DeadlockException
Exception with a null message and a given cause.
DeadlockException(String, Throwable) - Constructor for exception org.curjent.agent.DeadlockException
Exception with a given message and cause.
Deadlocks - Class in org.curjent.impl.agent
Blocked message states and deadlock detection algorithm.
Deadlocks() - Constructor for class org.curjent.impl.agent.Deadlocks
Enforces the singleton pattern.
DeadlockTest - Class in org.curjent.test.agent
Tests for deadlocks.
DeadlockTest() - Constructor for class org.curjent.test.agent.DeadlockTest
 
DeadlockTest.DeadlockTestAgent - Interface in org.curjent.test.agent
 
DeadlockTest.DeadlockTestTask - Class in org.curjent.test.agent
 
DeadlockTest.DeadlockTestTask() - Constructor for class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
debug(Throwable) - Static method in class org.curjent.impl.agent.Insider
Prints the stack trace for an exception.
DEFAULT_EXCEPTION_HANDLER - Static variable in class org.curjent.impl.agent.Config
Default handler for unhandled exceptions.
DEFAULT_EXECUTOR - Static variable in class org.curjent.impl.agent.Messengers
Default executor for running messengers in background threads.
defaultValueOpcode - Variable in class org.curjent.impl.agent.BoxedInfo
ASM opcode for pushing the default primitive value onto the stack; e.g., ICONST_0 for int.
defineClass(String, byte[]) - Method in interface org.curjent.agent.AgentLoader
Creates a class generated by an agent.
defineClass(String, byte[]) - Method in class org.curjent.agent.CustomLoader
Calls the super class's defineClass method using an offset of 0 and a length equal to bytes.length.
defineClass - Variable in class org.curjent.agent.DelegatingLoader
Cached 'defineClass' method of DelegatingLoader.classLoader.
defineClass(String, byte[]) - Method in class org.curjent.agent.DelegatingLoader
Uses the previously cached defineClass method to create a generated class.
DelegatingLoader - Class in org.curjent.agent
Delegates class creation and loading to an existing ClassLoader.
DelegatingLoader(Object) - Constructor for class org.curjent.agent.DelegatingLoader
Equivalent to DelegatingLoader(instance.getClass().getClassLoader()).
DelegatingLoader(Class<?>) - Constructor for class org.curjent.agent.DelegatingLoader
Equivalent to DelegatingLoader(type.getClassLoader()).
DelegatingLoader(ClassLoader) - Constructor for class org.curjent.agent.DelegatingLoader
Initializes this instance with the given classLoader for creating and loading generated classes.
dequeue(Message) - Method in class org.curjent.impl.agent.Messages
Called in the controller's message pump loop to remove the current message for processing and evaluate the next message for processing.
dequeue(Message) - Method in class org.curjent.impl.agent.Queue
Removes the given message from the queue.
desc - Variable in class org.curjent.impl.asm.FieldWriter
The index of the constant pool item that contains the descriptor of this field.
desc - Variable in class org.curjent.impl.asm.MethodWriter
The index of the constant pool item that contains the descriptor of this method.
descriptor - Variable in class org.curjent.impl.agent.ParamInfo
Parameter type descriptor.
discard(Object) - Method in class org.curjent.agent.DynamicTasks
Discards a task.
disconnect() - Method in class org.curjent.example.agent.ftpxfer.FTPTransferClient
 
disconnect() - Method in class org.curjent.example.agent.ftpxfer.FTPTransferTask
 
dispatch(Message) - Method in class org.curjent.impl.agent.Controller
Proxy methods implemented for Reentrant task methods call this method instead of Controller.send(Message).
dispatch(Object, Message) - Method in class org.curjent.impl.agent.Controller
Executes the next message using the messenger's task.
dispatch(Object) - Method in class org.curjent.impl.agent.Message
Delegates execution of the call to the subclass of this message.
dispatch(Object) - Method in class org.curjent.impl.agent.SyntheticMessage
Empty implementation that does nothing.
dispatch(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Copy
 
dispatch(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Count
 
dispatch(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Exists
 
dispatch(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_File
 
dispatch(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Flush
 
dispatch(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Length
 
dispatch(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Read
 
dispatch(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Status
 
DISPATCH_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for the void dispatch(Message) and send methods.
DISPATCH_EXCEPTION_TYPES - Static variable in class org.curjent.impl.agent.MessageFactory
Internal JVM names for the declared exceptions of Message.dispatch(Object).
dispatched(Message) - Method in class org.curjent.impl.agent.Messages
Notification from the controller that a message has finished executing.
dispatching(Message) - Method in class org.curjent.impl.agent.Messages
Notification from the controller that it has selected a message to execute.
DLOAD - Static variable in interface org.curjent.impl.asm.Opcodes
 
DOUBLE - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_Double constant pool items.
DRETURN - Static variable in interface org.curjent.impl.asm.Opcodes
 
DUP - Static variable in interface org.curjent.impl.asm.Opcodes
 
DUP2 - Static variable in interface org.curjent.impl.asm.Opcodes
 
DynamicTasks - Class in org.curjent.agent
Source for dynamically created tasks.
DynamicTasks(int, int, Collection<?>) - Constructor for class org.curjent.agent.DynamicTasks
Initializes the cache of tasks.

E

effective - Variable in class org.curjent.impl.agent.CallInfo
Effective listeners for each CallState based on the hiearchy of general to more specific configured listeners.
effective - Variable in class org.curjent.impl.agent.MessageCall
Call's effective state listeners.
empty - Static variable in class org.curjent.impl.agent.CallKey
A null list of parameter types is the same as an empty list.
empty() - Method in class org.curjent.impl.agent.Messages
Returns true if there are no messages queued, accepted or waiting.
empty() - Method in class org.curjent.impl.agent.Queue
Returns true if the queue has no messages.
end - Variable in class org.curjent.impl.asm.Handler
End of the exception handler's scope (exclusive).
enlarge(int) - Method in class org.curjent.impl.asm.ByteVector
Enlarge this byte vector so that it can receive n more bytes.
enqueue(ExpirationsTimer) - Method in class org.curjent.impl.agent.ExpirationsTask
Enqueues a new timer for expiration.
enqueue(Mark, Message) - Method in class org.curjent.impl.agent.Messages
Adds a message to the end of the queue, assigned the given mark to it, and increments the mark's count.
enqueue(Message) - Method in class org.curjent.impl.agent.Queue
Adds the given message to the end of the queue.
equals(Object) - Method in class org.curjent.impl.agent.CallKey
true if a CallKey for the same method.
evaluate(Throwable) - Static method in class org.curjent.impl.agent.Insider
Casts or converts a Throwable to a RuntimeException and returns it.
evaluate(Throwable) - Method in class org.curjent.impl.agent.ProxyFactory
Wraps a checked exception as the cause of an AgentException.
evaluateInterfaces() - Method in class org.curjent.impl.agent.TypeInfo
Evaluates the agent's interfaces for unique methods.
evaluateMethods() - Method in class org.curjent.impl.agent.TypeInfo
Makes one final pass over the evaluated TypeInfo.methods.
evaluateTaskType(Map<String, List<MethodInfo>>) - Method in class org.curjent.impl.agent.TypeInfo
Evaluates the agent's task type given the information on the agent's interfaces.
exception - Variable in class org.curjent.impl.agent.Message
Set to an exception thrown by the task's method or explicitly via AgentCall.setException(Throwable).
exceptionCount - Variable in class org.curjent.impl.asm.MethodWriter
Number of exceptions that can be thrown by this method.
ExceptionHandler - Interface in org.curjent.agent
Handler for exceptions.
exceptions - Variable in class org.curjent.impl.agent.Config
Handler for unhandled exceptions.
exceptions - Variable in class org.curjent.impl.asm.MethodWriter
The exceptions that can be thrown by this method.
executing - Variable in class org.curjent.impl.agent.Messages
Number of accepted messages executing.
executor - Variable in class org.curjent.impl.agent.Messengers
Current executor for starting new messengers.
exists(String) - Method in interface org.curjent.test.agent.asmify.Copy
 
exists(String) - Method in class org.curjent.test.agent.asmify.CopyProxy
 
exists(String) - Method in class org.curjent.test.agent.asmify.CopyTask
 
exit() - Method in class org.curjent.test.agent.asmify.GenerateAsm
Exits the JVM with a -1 error code
Expiration - Annotation Type in org.curjent.agent
Agent call expirations.
expirationNanos - Variable in class org.curjent.impl.agent.CallInfo
Call site expirate timeout converted to nanoseconds.
expirations - Variable in class org.curjent.impl.agent.Controller
Call expiration configuration.
Expirations - Class in org.curjent.impl.agent
Helper for Controller to manage message expirations (Expiration).
Expirations(Controller, ReentrantLock) - Constructor for class org.curjent.impl.agent.Expirations
Saves the controller and its lock for internal use.
ExpirationsTask - Class in org.curjent.impl.agent
Background task for expiring messages.
ExpirationsTask(Controller, ReentrantLock) - Constructor for class org.curjent.impl.agent.ExpirationsTask
Saves the controller and its lock for internal use.
ExpirationsTimer - Class in org.curjent.impl.agent
Expiration timer.
ExpirationsTimer(Message, long, long) - Constructor for class org.curjent.impl.agent.ExpirationsTimer
Constructs a new timer with the given fixed values.
ExpirationTest - Class in org.curjent.test.agent
Tests for Expiration.
ExpirationTest() - Constructor for class org.curjent.test.agent.ExpirationTest
 
ExpirationTest.ExpirationTestAgent - Interface in org.curjent.test.agent
 
ExpirationTest.ExpirationTestAgent2 - Interface in org.curjent.test.agent
 
ExpirationTest.ExpirationTestTask - Class in org.curjent.test.agent
 
ExpirationTest.ExpirationTestTask() - Constructor for class org.curjent.test.agent.ExpirationTest.ExpirationTestTask
 
ExpirationTest.ExpirationTestTask2 - Class in org.curjent.test.agent
 
ExpirationTest.ExpirationTestTask2() - Constructor for class org.curjent.test.agent.ExpirationTest.ExpirationTestTask2
 
expirationTimeout - Variable in class org.curjent.impl.agent.CallInfo
Call site expiration timeout duration.
expirationTimeout - Variable in class org.curjent.impl.agent.MethodInfo
Default call site expiration timeout.
expirationTimeout - Variable in class org.curjent.impl.agent.ProxyInfo
Value from Expiration.timeout() or Expirations.NIL.
expirationUnit - Variable in class org.curjent.impl.agent.CallInfo
Call site expiration timeout unit.
expirationUnit - Variable in class org.curjent.impl.agent.MethodInfo
Default call site expiration timeout unit.
expirationUnit - Variable in class org.curjent.impl.agent.ProxyInfo
Value from Expiration.unit() or TimeUnit.NANOSECONDS.
expire() - Method in class org.curjent.impl.agent.Message
Expires a call.
ExpiredException - Exception in org.curjent.agent
Call waited too long to begin executing.
ExpiredException() - Constructor for exception org.curjent.agent.ExpiredException
Exception with a null message and cause.
ExpiredException(String) - Constructor for exception org.curjent.agent.ExpiredException
Exception with a given message and a null cause.
ExpiredException(Throwable) - Constructor for exception org.curjent.agent.ExpiredException
Exception with a null message and a given cause.
ExpiredException(String, Throwable) - Constructor for exception org.curjent.agent.ExpiredException
Exception with a given message and cause.
ExpiredException(AgentCall<?>) - Constructor for exception org.curjent.agent.ExpiredException
Call that expired.
expires - Variable in class org.curjent.impl.agent.ExpirationsTimer
Time in nanoseconds when this message expires.
expires(long) - Static method in class org.curjent.impl.agent.ExpirationsTimer
Computes the future expiration time in nanoseconds relative to the "current" time.
expires(long, TimeUnit) - Static method in class org.curjent.impl.agent.ExpirationsTimer
Converts the given timeout value to nanoseconds and returns the future expiration time in nanoseconds relative to the "current" time.

F

Factory - Class in org.curjent.impl.agent
Base class for the proxy and message factories.
Factory() - Constructor for class org.curjent.impl.agent.Factory
 
failed - Variable in class org.curjent.test.agent.AgentTest.Context
 
failed - Variable in class org.curjent.test.agent.AgentTest
 
FCONST_0 - Static variable in interface org.curjent.impl.asm.Opcodes
 
feed - Variable in class org.curjent.impl.agent.ExpirationsTask
New timers from the controller are queued in a simple list and processed in the background.
FIELD - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_Fieldref constant pool items.
FieldWriter - Class in org.curjent.impl.asm
An { @link FieldVisitor} that generates Java fields in bytecode form.
FieldWriter(ClassWriter, int, String, String, String, Object) - Constructor for class org.curjent.impl.asm.FieldWriter
Constructs a new { @link FieldWriter}.
file(String) - Method in interface org.curjent.test.agent.asmify.Copy
 
file(String) - Method in class org.curjent.test.agent.asmify.CopyProxy
 
file(String) - Method in class org.curjent.test.agent.asmify.CopyTask
 
FileCopy - Interface in org.curjent.example.agent.filecopy
File copy example using a listener to verify copies and report errors.
FileCopyFactory - Interface in org.curjent.example.agent.filecopy
The agent's factory initializes a new agent with its supporting verifier and listener.
FileCopyTask - Class in org.curjent.example.agent.filecopy
The agent's copy task simply copies the bytes from one file to another.
FileCopyTask() - Constructor for class org.curjent.example.agent.filecopy.FileCopyTask
 
FileCopyTest - Class in org.curjent.example.agent.filecopy
The test driver takes two arguments, a source directory and a target directory.
FileCopyTest() - Constructor for class org.curjent.example.agent.filecopy.FileCopyTest
 
FileVerify - Interface in org.curjent.example.agent.filecopy
The verification agent reads two files and logs whether or not they are exactly the same, byte for byte.
FileVerifyFactory - Interface in org.curjent.example.agent.filecopy
The copy factory uses the verification factory to create and initialize the verification agent and listener.
FileVerifyListener - Class in org.curjent.example.agent.filecopy
The verification listener monitors copy calls of the file copy agent for FINISHED execution states.
FileVerifyListener(FileVerify) - Constructor for class org.curjent.example.agent.filecopy.FileVerifyListener
 
FileVerifyTask - Class in org.curjent.example.agent.filecopy
The verification task computes the checksums of two files and logs the success or failure of the comparison.
FileVerifyTask() - Constructor for class org.curjent.example.agent.filecopy.FileVerifyTask
 
finish() - Method in interface org.curjent.agent.AgentCall
Transitions the call to the CallState.FINISHED state.
finish(V) - Method in interface org.curjent.agent.AgentCall
Sets the call's result and exception and transitions the call to the CallState.FINISHED state.
finish(Throwable) - Method in interface org.curjent.agent.AgentCall
Sets the call's result and exception and transitions the call to the CallState.FINISHED state.
finish(boolean, boolean, V, Throwable) - Method in interface org.curjent.agent.AgentCall
Transitions the call to the CallState.FINISHED state.
finish() - Method in class org.curjent.agent.AgentResult
Does nothing and returns false.
finish(V) - Method in class org.curjent.agent.AgentResult
Does nothing and returns false.
finish(Throwable) - Method in class org.curjent.agent.AgentResult
Does nothing and returns false.
finish(boolean, boolean, V, Throwable) - Method in class org.curjent.agent.AgentResult
Does nothing and returns false.
finish(Messenger) - Method in class org.curjent.impl.agent.Controller
Releases the messenger and prepares to shutdown.
finish(Message) - Method in class org.curjent.impl.agent.Controller
Notification that a message transitioned to FINISHED.
finish(Message) - Method in class org.curjent.impl.agent.Expirations
Notification that a message has finished executing.
finish(boolean, boolean, Object, Throwable) - Method in class org.curjent.impl.agent.Message
Implementation for AgentCall.finish(boolean, boolean, Object, Throwable).
finish() - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.finish(boolean, boolean, Object, Throwable).
finish(Object) - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.finish(boolean, boolean, Object, Throwable).
finish(Throwable) - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.finish(boolean, boolean, Object, Throwable).
finish(boolean, boolean, Object, Throwable) - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.finish(boolean, boolean, Object, Throwable).
finish(Message) - Method in class org.curjent.impl.agent.Messages
The controller has finished processing the given message.
finish(Message) - Method in class org.curjent.impl.agent.Queue
Dequeues the message if necessary and decrements the count.
finished(String) - Method in interface org.curjent.example.agent.ftpxfer.FTPTransfer
 
finished(String) - Method in class org.curjent.example.agent.ftpxfer.FTPTransferTask
 
firstField - Variable in class org.curjent.impl.asm.ClassWriter
The fields of this class.
firstHandler - Variable in class org.curjent.impl.asm.MethodWriter
The first element in the exception handler list.
firstMethod - Variable in class org.curjent.impl.asm.ClassWriter
The methods of this class.
FixedTasks - Class in org.curjent.agent
Source for a fixed number of tasks.
FixedTasks(Object[]) - Constructor for class org.curjent.agent.FixedTasks
Equivalent to FixedTasks(Arrays.asList(tasks)).
FixedTasks(Collection<Object>) - Constructor for class org.curjent.agent.FixedTasks
Saves a copy of the given collection of tasks.
fixup(List<String>) - Method in class org.curjent.test.agent.asmify.GenerateAsm
Fixes package names and other problems with the asmified output lines.
FLOAD - Static variable in interface org.curjent.impl.asm.Opcodes
 
FLOAT - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_Float constant pool items.
flush(Object) - Method in class org.curjent.test.agent.AgentTest
 
flush(Runnable) - Method in interface org.curjent.test.agent.asmify.Copy
 
flush(Runnable) - Method in class org.curjent.test.agent.asmify.CopyProxy
 
flush(Runnable) - Method in class org.curjent.test.agent.asmify.CopyTask
 
format(List<String>) - Method in class org.curjent.test.agent.asmify.GenerateAsm
Formats the asmified output lines.
FRETURN - Static variable in interface org.curjent.impl.asm.Opcodes
 
ftp - Variable in class org.curjent.example.agent.ftpxfer.FTPTransferClient
 
ftp - Variable in class org.curjent.example.agent.ftpxfer.FTPTransferTask
 
FTPTransfer - Interface in org.curjent.example.agent.ftpxfer
FTP example using multiple tasks.
FTPTransferClient - Class in org.curjent.example.agent.ftpxfer
FTP functionality.
FTPTransferClient(String, String) - Constructor for class org.curjent.example.agent.ftpxfer.FTPTransferClient
 
FTPTransferFactory - Interface in org.curjent.example.agent.ftpxfer
FTP transfer factory.
FTPTransferTask - Class in org.curjent.example.agent.ftpxfer
FTP transfer task.
FTPTransferTask(String, String) - Constructor for class org.curjent.example.agent.ftpxfer.FTPTransferTask
 
FTPTransferTasks - Class in org.curjent.example.agent.ftpxfer
Source for FTP transfer tasks.
FTPTransferTasks(String, String, int) - Constructor for class org.curjent.example.agent.ftpxfer.FTPTransferTasks
 
FTPTransferTest - Class in org.curjent.example.agent.ftpxfer
FTP transfer test driver.
FTPTransferTest() - Constructor for class org.curjent.example.agent.ftpxfer.FTPTransferTest
 
full() - Method in class org.curjent.impl.agent.Queue
Returns true if the number of messages has reached this queue's capacity.
future - Variable in class org.curjent.impl.agent.CallInfo
true if the agent call is asynchronous and the interface method returns a Future or AgentCall.
future - Variable in class org.curjent.impl.agent.MethodInfo
true if the agent call is asynchronous and the interface method returns a Future or AgentCall.
FUTURE_INTERNAL - Static variable in class org.curjent.impl.agent.MessageFactory
Internal JVM name for Future.
FutureTest - Class in org.curjent.test.agent
Test cases for agent methods returning Future references.
FutureTest() - Constructor for class org.curjent.test.agent.FutureTest
 
FutureTest.FutureTestAgent - Interface in org.curjent.test.agent
 
FutureTest.FutureTestTask - Class in org.curjent.test.agent
 
FutureTest.FutureTestTask() - Constructor for class org.curjent.test.agent.FutureTest.FutureTestTask
 

G

GenerateAsm - Class in org.curjent.test.agent.asmify
Generates and formats the ASM test files.
GenerateAsm() - Constructor for class org.curjent.test.agent.asmify.GenerateAsm
 
get() - Method in class org.curjent.agent.AgentResult
Immediately returns the saved result value.
get(long, TimeUnit) - Method in class org.curjent.agent.AgentResult
Immediately returns the saved result value.
get(Class<?>) - Static method in class org.curjent.impl.agent.BoxedInfo
Returns boxing bytecode generation information for the given primitive type, such as Boolean.TYPE.
get(long, TimeUnit) - Method in class org.curjent.impl.agent.Message
Waits for the call to finish and returns the result.
get() - Method in class org.curjent.impl.agent.MessageFuture
Delegates to Message.get(long, TimeUnit).
get(long, TimeUnit) - Method in class org.curjent.impl.agent.MessageFuture
Delegates to Message.get(long, TimeUnit).
get(ClassLoader, String) - Method in class org.curjent.impl.agent.ProxyCache
Returns the cached proxy info for the given class loader and key.
get(Item) - Method in class org.curjent.impl.asm.ClassWriter
Returns the constant pool's hash table item which is equal to the given item.
GET_CONTEXT_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for the MessageCall getCall() method.
getAcceptedCapacity() - Method in interface org.curjent.agent.AgentConfig
Returns the maximum number of messages an agent will immediately queue for processing.
getAcceptedCapacity() - Method in interface org.curjent.agent.AgentStats
Returns the maximum number of messages the agent will immediately queue for processing.
getAcceptedCapacity() - Method in class org.curjent.impl.agent.Config
Returns the current maximum for accepted messages.
getAcceptedCapacity() - Method in class org.curjent.impl.agent.Messages
Returns the current maximum for accepted messages.
getAcceptedCapacity() - Method in class org.curjent.impl.agent.Stats
 
getAgent() - Method in interface org.curjent.agent.CallSite
Returns this call site's agent.
getAgent() - Method in class org.curjent.impl.agent.CallInfo
Returns the front-end object of the agent.
getAgentLoader() - Method in interface org.curjent.agent.AgentConfig
Returns the loader used to create generated classes for the agent.
getAgentLoader() - Method in class org.curjent.impl.agent.Config
Returns the loader used to create the agent.
getAgentLoader() - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getAgentLoader() - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getAgentTasks() - Method in interface org.curjent.agent.AgentConfig
Returns the tasks used to execute calls.
getAgentTasks() - Method in class org.curjent.impl.agent.Config
Returns the tasks used to create the agent.
getAgentTasks() - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getAgentTasks() - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getArgument(int) - Method in interface org.curjent.agent.AgentCall
Returns the value for a call's argument.
getArgument(int) - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getArgument(int) - Method in class org.curjent.impl.agent.Message
Returns the value of an argument that will be passed to the task's method.
getArgument(int) - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.getArgument(int).
getArgumentCount() - Method in interface org.curjent.agent.AgentCall
Returns the number of arguments for the call.
getArgumentCount() - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getArgumentCount() - Method in class org.curjent.impl.agent.Message
Returns the number of arguments this call's method takes.
getArgumentCount() - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.getArgumentCount().
getArgumentsAndReturnSizes(String) - Static method in class org.curjent.impl.asm.MethodWriter
Computes the size of the arguments and of the return value of a method.
getArgumentValue(int) - Method in class org.curjent.impl.agent.Message
Method implemented by generated message subtypes for boxing and unboxing arguments.
getArgumentValue(int) - Method in class org.curjent.test.agent.asmify.CopyMessage_Copy
 
getArgumentValue(int) - Method in class org.curjent.test.agent.asmify.CopyMessage_Exists
 
getArgumentValue(int) - Method in class org.curjent.test.agent.asmify.CopyMessage_File
 
getArgumentValue(int) - Method in class org.curjent.test.agent.asmify.CopyMessage_Flush
 
getArgumentValue(int) - Method in class org.curjent.test.agent.asmify.CopyMessage_Length
 
getArgumentValue(int) - Method in class org.curjent.test.agent.asmify.CopyMessage_Read
 
getArgumentValue(int) - Method in class org.curjent.test.agent.asmify.CopyMessage_Status
 
getArray() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getArray() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getBlockingThreads() - Method in interface org.curjent.impl.agent.Awaiter
Used by the controller and by Deadlocks to keep track of which agents are blocking which threads.
getBlockingThreads() - Method in class org.curjent.impl.agent.Controller
Returns the messenger threads currently executing tasks.
getBlockingThreads(Thread) - Method in class org.curjent.impl.agent.Deadlocks
Returns the threads blocking the given blockedThread.
getBlockingThreads() - Method in class org.curjent.impl.agent.Message
Returns this message's thread if any; otherwise, delegates to Controller.getBlockingThreads().
getBoolean() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getBoolean() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getBooleanFuture() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getBooleanFuture() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getBooleanObject() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getBooleanObject() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getBoxedBoolean() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getBoxedBoolean() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getBoxedByte() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getBoxedByte() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getBoxedChar() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getBoxedChar() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getBoxedDouble() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getBoxedDouble() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getBoxedFloat() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getBoxedFloat() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getBoxedInt() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getBoxedInt() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getBoxedLong() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getBoxedLong() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getBoxedShort() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getBoxedShort() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getByte() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getByte() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getCall() - Method in class org.curjent.impl.agent.Message
Returns the internal implementation for AgentCall.
getCallSite() - Method in interface org.curjent.agent.AgentCall
Returns this agent's call site for this call.
getCallSite(String, Class<?>, Class<?>...) - Method in interface org.curjent.agent.AgentConfig
Returns metadata and configuration settings for a specific method.
getCallSite() - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getCallSite(String, Class<?>, Class<?>...) - Method in class org.curjent.impl.agent.Config
Returns configuration settings for an agent's method.
getCallSite() - Method in class org.curjent.impl.agent.MessageCall
Returns message.info.
getCallSite(String, Class<?>, Class<?>...) - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getCallSite(String, Class<?>, Class<?>...) - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getCallStateListener() - Method in interface org.curjent.agent.AgentCall
Returns the default call state listener for this call.
getCallStateListener(CallState) - Method in interface org.curjent.agent.AgentCall
Returns the listener for the given call state.
getCallStateListener() - Method in interface org.curjent.agent.AgentConfig
Returns the default call state listener for this agent.
getCallStateListener(CallState) - Method in interface org.curjent.agent.AgentConfig
Returns the default call listener for a specific state.
getCallStateListener() - Method in interface org.curjent.agent.AgentMark
Returns the default call state listener for new calls.
getCallStateListener(CallState) - Method in interface org.curjent.agent.AgentMark
Returns the listener for the given call state.
getCallStateListener() - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getCallStateListener(CallState) - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getCallStateListener() - Method in interface org.curjent.agent.CallSite
Returns the default call state listener for this agent's call site.
getCallStateListener(CallState) - Method in interface org.curjent.agent.CallSite
Returns the default listener for the given call state.
getCallStateListener() - Method in class org.curjent.impl.agent.CallInfo
Returns the default listener for the given call site.
getCallStateListener(CallState) - Method in class org.curjent.impl.agent.CallInfo
Returns a call site's listener for a given state.
getCallStateListener() - Method in class org.curjent.impl.agent.Config
Returns the agent's default listener.
getCallStateListener(CallState) - Method in class org.curjent.impl.agent.Config
Returns the default listener for a specific state.
getCallStateListener() - Method in class org.curjent.impl.agent.Listeners
Returns the agent's default listener.
getCallStateListener(CallState) - Method in class org.curjent.impl.agent.Listeners
Returns the default listener for a specific state.
getCallStateListener(CallInfo) - Method in class org.curjent.impl.agent.Listeners
Returns the default listener for the given call site.
getCallStateListener(CallInfo, CallState) - Method in class org.curjent.impl.agent.Listeners
Returns a call site's listener for a given state.
getCallStateListener() - Method in class org.curjent.impl.agent.MarkCall
Returns the default call state listener or null if none.
getCallStateListener(CallState) - Method in class org.curjent.impl.agent.MarkCall
Returns a call state listener or null if none.
getCallStateListener() - Method in class org.curjent.impl.agent.MessageCall
Returns the default listener for this call.
getCallStateListener(CallState) - Method in class org.curjent.impl.agent.MessageCall
Returns the listener for a specified state change for this call.
getCallStateListener() - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getCallStateListener(CallState) - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getCallStateListener() - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getCallStateListener(CallState) - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getChar() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getChar() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getClassLoader() - Method in interface org.curjent.agent.AgentLoader
Returns a non-null reference to the effective class loader.
getClassLoader() - Method in class org.curjent.agent.CustomLoader
Returns this.
getClassLoader() - Method in class org.curjent.agent.DelegatingLoader
Returns the classLoader instance this instance was constructed with.
getCompletion() - Method in interface org.curjent.agent.AgentCall
Returns the reason the call finished.
getCompletion() - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getCompletion() - Method in class org.curjent.impl.agent.Message
Returns the reason the call finished.
getCompletion() - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.getCompletion().
getConfig(Object) - Static method in class org.curjent.agent.Agent
Returns configuration options for an agent.
getConfig(Object, Object, Object) - Static method in class org.curjent.agent.Agent
Returns configuration options for an agent.
getConfig(Object, Object, Object) - Static method in class org.curjent.impl.agent.Insider
Implementation for Agent.getConfig(Object, Object, Object) and related methods.
getController() - Method in interface org.curjent.impl.agent.Awaiter
Returns the controller instance of the awaiter.
getController() - Method in class org.curjent.impl.agent.Message
Returns the agent's controller for this message.
getCount() - Method in interface org.curjent.test.agent.CapacityTest.CapacityTestAgent
 
getCount() - Method in class org.curjent.test.agent.CapacityTest.CapacityTestTask
 
getCount() - Method in interface org.curjent.test.agent.ReentrantTest.ReentrantTestAgent
 
getCount() - Method in class org.curjent.test.agent.ReentrantTest.ReentrantTestTask
 
getCurrentAccepted() - Method in interface org.curjent.agent.AgentStats
Returns the number of messages currently accepted by the agent.
getCurrentAccepted() - Method in class org.curjent.impl.agent.Messages
Returns the current number of messages accepted, including executing messages.
getCurrentAccepted() - Method in class org.curjent.impl.agent.Stats
 
getCurrentExecuting() - Method in interface org.curjent.agent.AgentStats
Returns the number of messages the agent is currently executing.
getCurrentExecuting() - Method in class org.curjent.impl.agent.Messages
Returns the number of executing messages.
getCurrentExecuting() - Method in class org.curjent.impl.agent.Stats
 
getCurrentPending() - Method in interface org.curjent.agent.AgentStats
Returns the number of callers currently suspended by the agent.
getCurrentPending() - Method in class org.curjent.impl.agent.Messages
Returns the number of messages currently pending.
getCurrentPending() - Method in class org.curjent.impl.agent.Stats
 
getData() - Method in interface org.curjent.agent.AgentCall
Returns the data associated with this call.
getData() - Method in interface org.curjent.agent.AgentConfig
Returns the data previously associated with this agent.
getData() - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getData() - Method in interface org.curjent.agent.CallSite
Returns the data previously associated with this call site.
getData() - Method in class org.curjent.impl.agent.CallInfo
Returns the caller's data associated with this call site.
getData() - Method in class org.curjent.impl.agent.Config
Returns the data previously associated with this agent.
getData() - Method in class org.curjent.impl.agent.MessageCall
Returns the client's data for this message.
getData() - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getData() - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getDeadcheckNanos() - Method in class org.curjent.impl.agent.Controller
Returns the nanosecond value for Messages.getDeadcheckTimeout().
getDeadcheckNanos() - Method in class org.curjent.impl.agent.Messages
Returns Messages.getDeadcheckTimeout() in nanosecond units.
getDeadcheckTimeout() - Method in interface org.curjent.agent.AgentConfig
Returns the length of time synchronous calls wait before checking if the caller's thread has deadlocked.
getDeadcheckTimeout() - Method in interface org.curjent.agent.AgentStats
Returns the length of time synchronous calls wait before checking if the caller's thread has deadlocked.
getDeadcheckTimeout() - Method in class org.curjent.impl.agent.Config
Returns the length of time synchronous calls wait before checking if the caller's thread has deadlocked.
getDeadcheckTimeout() - Method in class org.curjent.impl.agent.Messages
Returns the deadcheck timeout value.
getDeadcheckTimeout() - Method in class org.curjent.impl.agent.Stats
 
getDeadcheckTimeout() - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getDeadcheckTimeout() - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getDeadcheckTimeoutUnit() - Method in interface org.curjent.agent.AgentConfig
Returns the deadlock check timeout unit.
getDeadcheckTimeoutUnit() - Method in interface org.curjent.agent.AgentStats
Returns the deadlock check timeout unit.
getDeadcheckTimeoutUnit() - Method in class org.curjent.impl.agent.Config
Returns the time unit for Config.getDeadcheckTimeout().
getDeadcheckTimeoutUnit() - Method in class org.curjent.impl.agent.Stats
 
getDeadcheckTimeoutUnit() - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getDeadcheckTimeoutUnit() - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getDeadcheckUnit() - Method in class org.curjent.impl.agent.Messages
Returns the deadcheck timeout unit.
getDefaultExecutor() - Static method in class org.curjent.agent.Agent
Returns the Executor used for all new agents.
getDefaultExecutor() - Static method in class org.curjent.impl.agent.Insider
Implementation for Agent.getDefaultExecutor().
getDescriptor(Class<?>) - Static method in class org.curjent.impl.asm.Type
Returns the descriptor corresponding to the given Java type.
getDescriptor(StringBuffer, Class<?>) - Static method in class org.curjent.impl.asm.Type
Appends the descriptor of the given class to the given string buffer.
getDouble() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getDouble() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getEffectiveListener(CallStateListener<?>, CallStateListener<?>, CallStateListener<?>, CallStateListener<?>) - Static method in class org.curjent.impl.agent.Listeners
Returns the effective listener for a specific state of a specific call site.
getException() - Method in interface org.curjent.agent.AgentCall
Returns the execution exception if any.
getException() - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getException() - Method in class org.curjent.impl.agent.Message
Returns the exception thrown by the task's method if any.
getException() - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.getException().
getExecutor() - Method in interface org.curjent.agent.AgentConfig
Returns the agent's executor.
getExecutor() - Method in class org.curjent.impl.agent.Config
Returns the agent's executor.
getExecutor() - Method in class org.curjent.impl.agent.Messengers
Returns the current executor.
getExecutor() - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getExecutor() - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getExpirationTimeout() - Method in interface org.curjent.agent.AgentConfig
Returns the default call expiration timeout for call sites and calls not explicitly configured with expiration timeouts.
getExpirationTimeout() - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getExpirationTimeout() - Method in interface org.curjent.agent.CallSite
Returns the default call expiration timeout for calls of this site that are not individually configured with expiration timeouts.
getExpirationTimeout() - Method in class org.curjent.impl.agent.CallInfo
Returns the call site's default expiration timeout.
getExpirationTimeout() - Method in class org.curjent.impl.agent.Config
Returns the agent's default expiration timeout value.
getExpirationTimeout() - Method in class org.curjent.impl.agent.Expirations
Returns the agent's default expiration timeout value.
getExpirationTimeout(CallInfo) - Method in class org.curjent.impl.agent.Expirations
Returns the expiration timeout for a given call site.
getExpirationTimeoutNanos() - Method in interface org.curjent.agent.AgentCall
Returns the number of NANOSECONDS until this call expires.
getExpirationTimeoutNanos() - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getExpirationTimeoutNanos(Message) - Method in class org.curjent.impl.agent.Expirations
Returns the number of NANOSECONDS until the given call expires.
getExpirationTimeoutNanos() - Method in class org.curjent.impl.agent.MessageCall
Delegates to Expirations.getExpirationTimeoutNanos(Message).
getExpirationTimeoutUnit() - Method in interface org.curjent.agent.AgentConfig
Returns the default call expiration timeout unit.
getExpirationTimeoutUnit() - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
getExpirationTimeoutUnit() - Method in interface org.curjent.agent.CallSite
Returns the default call expiration timeout unit for this site.
getExpirationTimeoutUnit() - Method in class org.curjent.impl.agent.CallInfo
Returns the call site's default expiration timeout unit.
getExpirationTimeoutUnit() - Method in class org.curjent.impl.agent.Config
Returns the agent's default expiration timeout unit.
getExpirationTimeoutUnit() - Method in class org.curjent.impl.agent.Expirations
Returns the agent's default expiration timeout unit.
getExpirationTimeoutUnit(CallInfo) - Method in class org.curjent.impl.agent.Expirations
Returns the expiration timeout unit for a given call site.
getExpiredCall() - Method in exception org.curjent.agent.CapacityExceededException
Get the call that was canceled.
getExpiredCall() - Method in exception org.curjent.agent.ExpiredException
Get the call that expired.
GETFIELD - Static variable in interface org.curjent.impl.asm.Opcodes
 
getFloat() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getFloat() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getFuture(Future<Boolean>) - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getFuture(Future<Boolean>) - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getFutureException() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getFutureException() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getInt() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getInt() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getIntegerFuture(CountDownLatch) - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getIntegerFuture(CountDownLatch, CountDownLatch) - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getIntegerFuture(CountDownLatch) - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getIntegerFuture(CountDownLatch, CountDownLatch) - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getInterfaceMethod() - Method in interface org.curjent.agent.CallSite
Returns the interface's method for this call site.
getInterfaceMethod() - Method in class org.curjent.impl.agent.CallInfo
Returns this call site's interface method.
getInterfaces() - Method in interface org.curjent.agent.AgentConfig
Returns a read-only list of the interfaces implemented by the agent.
getInterfaces() - Method in class org.curjent.impl.agent.Config
Returns a read-only list of the interfaces used to create the agent.
getInterfaces() - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getInterfaces() - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getInternalName(String) - Static method in class org.curjent.impl.agent.TypeInfo
Converts a class name to an internal JVM name.
getInternalName(Class<?>) - Static method in class org.curjent.impl.asm.Type
Returns the internal name of the given class.
getInternalNames(Class<?>[]) - Static method in class org.curjent.impl.agent.TypeInfo
Converts an array of class names to their internal JVM names.
getKey(Method) - Static method in class org.curjent.impl.agent.MethodInfo
Returns the unique key for the given method.
getKey(String, String) - Static method in class org.curjent.impl.agent.MethodInfo
Returns the unique key for a method's name and its JVM descriptor.
getKey(String[], String) - Static method in class org.curjent.impl.agent.ProxyCache
Generates a unique caching key for the agent's interfaces and task type.
getLastCall(Object) - Static method in class org.curjent.agent.Agent
Returns a reference to the last call made to an agent by the current thread.
getLastCall(Object) - Static method in class org.curjent.impl.agent.Insider
Implementation for Agent.getLastCall(Object).
getLong() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getLong() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getLongFuture(CountDownLatch, CountDownLatch) - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getLongFuture(CountDownLatch, CountDownLatch) - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getMarkerType() - Method in interface org.curjent.agent.AgentMark
Returns the call's marker type or null for a standard call.
getMarkerType() - Method in interface org.curjent.agent.CallSite
Returns the type of Marker.
getMarkerType() - Method in class org.curjent.impl.agent.CallInfo
Type of Marker.
getMarkerType() - Method in class org.curjent.impl.agent.MarkCall
Returns the (possibly null) marker type.
getMethodDescriptor(Method) - Static method in class org.curjent.impl.asm.Type
Returns the descriptor corresponding to the given method.
getNames(Class<?>[]) - Static method in class org.curjent.impl.agent.ProxyFactory
Returns the class names for the given types.
getObject() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getObject() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getPendingCapacity() - Method in interface org.curjent.agent.AgentConfig
Returns the maximum number of callers the agent can suspend while waiting for new messages to be accepted.
getPendingCapacity() - Method in interface org.curjent.agent.AgentStats
Returns the maximum number of callers the agent can suspend while waiting for new messages to be accepted.
getPendingCapacity() - Method in class org.curjent.impl.agent.Config
Returns the current maximum for pending messages.
getPendingCapacity() - Method in class org.curjent.impl.agent.Messages
Returns the current maximum for pending messages.
getPendingCapacity() - Method in class org.curjent.impl.agent.Stats
 
getPendingTimeout() - Method in interface org.curjent.agent.AgentConfig
Returns the length of time the caller will wait for the agent to accept a new message.
getPendingTimeout() - Method in interface org.curjent.agent.AgentStats
Returns the length of time the caller will wait for the agent to accept a new message.
getPendingTimeout() - Method in class org.curjent.impl.agent.Config
Returns the current maximum amount of time a caller waits for the agent to accept its call.
getPendingTimeout() - Method in class org.curjent.impl.agent.Messages
Returns the current maximum amount of time a caller waits for the agent to accept its call.
getPendingTimeout() - Method in class org.curjent.impl.agent.Stats
 
getPendingTimeoutUnit() - Method in interface org.curjent.agent.AgentConfig
Returns the pending timeout unit.
getPendingTimeoutUnit() - Method in interface org.curjent.agent.AgentStats
Returns the pending timeout unit.
getPendingTimeoutUnit() - Method in class org.curjent.impl.agent.Config
Returns the time unit for Config.getPendingCapacity().
getPendingTimeoutUnit() - Method in class org.curjent.impl.agent.Stats
 
getPendingUnit() - Method in class org.curjent.impl.agent.Messages
Returns the time unit for Messages.getPendingCapacity().
getResult() - Method in interface org.curjent.agent.AgentCall
Returns the execution result value if any.
getResult() - Method in class org.curjent.agent.AgentResult
Returns the saved result value.
getResult() - Method in class org.curjent.impl.agent.Message
Boxes, caches, and returns the message result.
getResult() - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.getResult().
getResultValue() - Method in class org.curjent.impl.agent.Message
Converts the task's result to an object.
getResultValue() - Method in class org.curjent.test.agent.asmify.CopyMessage_Count
 
getResultValue() - Method in class org.curjent.test.agent.asmify.CopyMessage_Exists
 
getResultValue() - Method in class org.curjent.test.agent.asmify.CopyMessage_Length
 
getResultValue() - Method in class org.curjent.test.agent.asmify.CopyMessage_Read
 
getShort() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getShort() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getSize() - Method in class org.curjent.impl.asm.FieldWriter
Returns the size of this field.
getSize() - Method in class org.curjent.impl.asm.MethodWriter
Returns the size of the bytecode of this method.
getState() - Method in interface org.curjent.agent.AgentCall
Returns the current state of this call.
getState() - Method in class org.curjent.agent.AgentResult
Always returns FINISHED.
getState() - Method in class org.curjent.impl.agent.Message
Returns the current state.
getState() - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.getState().
GETSTATIC - Static variable in interface org.curjent.impl.asm.Opcodes
 
getStats(Object) - Static method in class org.curjent.agent.Agent
Returns a snapshot of statistics for an agent.
getStats(Object) - Static method in class org.curjent.impl.agent.Insider
Implementation for Agent.getStats(Object).
getSyntheticSite(Controller, CallInfo) - Static method in class org.curjent.impl.agent.MarkCall
Returns configuration settings for an agent's synthetic method.
getTaskMethod() - Method in interface org.curjent.agent.CallSite
Returns the task's method for this call site.
getTaskMethod() - Method in class org.curjent.impl.agent.CallInfo
Returns this call site's task method.
getTasks() - Static method in class org.curjent.test.agent.MultiTaskTest
 
getTaskType() - Method in interface org.curjent.agent.AgentConfig
Returns the class of agent's task instances.
getTaskType() - Method in class org.curjent.impl.agent.Config
Returns the task type used to create the agent.
getTaskType() - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getTaskType() - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getThisCall() - Static method in class org.curjent.agent.Agent
Returns a reference to the call executing by the current thread.
getThisCall() - Static method in class org.curjent.impl.agent.Insider
Implementation for Agent.getThisCall().
getUnhandledExceptionHandler() - Method in interface org.curjent.agent.AgentConfig
Returns the agent's handler for unhandled exceptions.
getUnhandledExceptionHandler() - Method in class org.curjent.impl.agent.Config
Returns the agent's handler for unhandled exceptions.
getUnhandledExceptionHandler() - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
getUnhandledExceptionHandler() - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
getValue() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
getValue() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 
getValue(Future<?>) - Method in class org.curjent.test.agent.FutureTest
 
getValue(boolean[]) - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getValue(int[]) - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getValue(boolean[]) - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getValue(int[]) - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
getValue() - Method in interface org.curjent.test.agent.ReentrantTest.ReentrantTestAgent
 
getValue() - Method in class org.curjent.test.agent.ReentrantTest.ReentrantTestTask
 
getValues() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
getValues() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
GOTO - Static variable in interface org.curjent.impl.asm.Opcodes
 

H

handle(Throwable) - Method in interface org.curjent.agent.ExceptionHandler
An exception was thrown.
handle(Throwable) - Method in class org.curjent.impl.agent.Controller
Forwards non-null exceptions to the handler for unhandled exceptions.
Handler - Class in org.curjent.impl.asm
Information about an exception handler block.
Handler() - Constructor for class org.curjent.impl.asm.Handler
 
handler - Variable in class org.curjent.impl.asm.Handler
Beginning of the exception handler's code.
handlerCount - Variable in class org.curjent.impl.asm.MethodWriter
Number of elements in the exception handler list.
hash - Variable in class org.curjent.impl.agent.CallKey
Cached hash code value of the name, result, and params.
hashCode() - Method in class org.curjent.impl.agent.CallKey
Hash value for the method's name, result type, and parameter types.
hashCode - Variable in class org.curjent.impl.asm.Item
The hash code value of this constant pool item.
head - Variable in class org.curjent.impl.agent.Queue
Next message for processing or null if empty.
head() - Method in class org.curjent.impl.agent.Queue
Returns the head of the queue if any.
hello() - Method in interface org.curjent.example.agent.HelloWorld.World
 
hello() - Method in interface org.curjent.example.agent.helloworld.World
 
hello() - Method in class org.curjent.example.agent.HelloWorld.WorldTask
 
hello() - Method in class org.curjent.example.agent.helloworld.WorldTask
 
HelloWorld - Class in org.curjent.example.agent
Example showing how to say "Hello World!" using an agent.
HelloWorld() - Constructor for class org.curjent.example.agent.HelloWorld
 
HelloWorld.World - Interface in org.curjent.example.agent
 
HelloWorld.WorldTask - Class in org.curjent.example.agent
 
HelloWorld.WorldTask() - Constructor for class org.curjent.example.agent.HelloWorld.WorldTask
 

I

ICONST_0 - Static variable in interface org.curjent.impl.asm.Opcodes
 
ICONST_1 - Static variable in interface org.curjent.impl.asm.Opcodes
 
ICONST_2 - Static variable in interface org.curjent.impl.asm.Opcodes
 
ICONST_3 - Static variable in interface org.curjent.impl.asm.Opcodes
 
ICONST_4 - Static variable in interface org.curjent.impl.asm.Opcodes
 
ICONST_5 - Static variable in interface org.curjent.impl.asm.Opcodes
 
ICONST_M1 - Static variable in interface org.curjent.impl.asm.Opcodes
 
id - Static variable in class org.curjent.impl.agent.TypeInfo
Id generator to ensure uniquely named generated classes.
IF_ACMPEQ - Static variable in interface org.curjent.impl.asm.Opcodes
 
IF_ICMPNE - Static variable in interface org.curjent.impl.asm.Opcodes
 
IFNE - Static variable in interface org.curjent.impl.asm.Opcodes
 
IFNONNULL - Static variable in interface org.curjent.impl.asm.Opcodes
 
IFNULL - Static variable in interface org.curjent.impl.asm.Opcodes
 
ILOAD - Static variable in interface org.curjent.impl.asm.Opcodes
 
IMETH - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_InterfaceMethodref constant pool items.
increment(AtomicInteger) - Method in interface org.curjent.test.agent.AgentAwaitTest.AgentAwaitTestAgent
 
increment(AtomicInteger) - Method in class org.curjent.test.agent.AgentAwaitTest.AgentAwaitTestTask
 
increment(AtomicInteger) - Method in interface org.curjent.test.agent.AgentMarkTest.AgentMarkTestAgent
 
increment(AtomicInteger) - Method in class org.curjent.test.agent.AgentMarkTest.AgentMarkTestTask
 
index - Variable in class org.curjent.impl.asm.ClassWriter
Index of the next item to be added in the constant pool.
index - Variable in class org.curjent.impl.asm.Item
Index of this item in the constant pool.
info - Variable in class org.curjent.impl.agent.Message
Information on the interface and task methods for this message.
init(FileCopy) - Method in interface org.curjent.example.agent.filecopy.FileVerifyFactory
 
init(CallInfo[]) - Method in class org.curjent.impl.agent.Config
Finishes initialization.
init(Proxy, ProxyInfo, CallInfo[]) - Method in class org.curjent.impl.agent.Controller
Finishes initialization of the controller.
init(ProxyInfo, CallInfo[]) - Method in class org.curjent.impl.agent.Expirations
This class is initialized when the controller is initialized.
init(ProxyInfo) - Method in class org.curjent.impl.agent.Messages
Initializes the capacity values.
INIT_DESCRIPTOR - Static variable in class org.curjent.impl.agent.MessageFactory
Internal JVM descriptor for the generated message's constructor.
INIT_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for the generated proxy's constructor.
initialize(Object) - Static method in class org.curjent.example.agent.factory.Agents
 
initializeListeners() - Method in class org.curjent.impl.agent.MessageCall
Initializes the listener fields.
Insider - Class in org.curjent.impl.agent
Static utility methods used by the public API and its generated classes.
Insider() - Constructor for class org.curjent.impl.agent.Insider
 
INSIDER_INTERNAL - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM name for Insider.
InsiderTest - Class in org.curjent.test.agent
Tests for InsiderTest.InsiderTestAgent and Insider.
InsiderTest() - Constructor for class org.curjent.test.agent.InsiderTest
 
InsiderTest.InsiderTestAgent - Interface in org.curjent.test.agent
 
InsiderTest.InsiderTestTask - Class in org.curjent.test.agent
 
InsiderTest.InsiderTestTask() - Constructor for class org.curjent.test.agent.InsiderTest.InsiderTestTask
 
INSTANCE - Static variable in interface org.curjent.example.agent.filecopy.FileCopyFactory
 
INSTANCE - Static variable in interface org.curjent.example.agent.filecopy.FileVerifyFactory
 
INSTANCE - Static variable in interface org.curjent.example.agent.ftpxfer.FTPTransferFactory
 
INSTANCE - Static variable in interface org.curjent.example.agent.helloworld.WorldFactory
 
INSTANCE - Static variable in interface org.curjent.example.agent.logger.Logger
 
INSTANCE - Static variable in class org.curjent.impl.agent.Deadlocks
Singleton.
INT - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_Integer constant pool items.
interfaceCount - Variable in class org.curjent.impl.asm.ClassWriter
Number of interfaces implemented or extended by this class or interface.
interfaceInternals - Variable in class org.curjent.impl.agent.TypeInfo
Internal JVM names for the agent's interfaces.
interfaceMethod - Variable in class org.curjent.impl.agent.CallInfo
The call site's unique interface method.
interfaceNames - Variable in class org.curjent.impl.agent.ProxyFactory
Names of the agent's interfaces.
interfaces - Variable in class org.curjent.impl.agent.Config
Interfaces used to create this agent.
interfaces - Variable in class org.curjent.impl.agent.ProxyFactory
Agent's interfaces.
interfaces - Variable in class org.curjent.impl.agent.TypeInfo
Agent's interfaces.
interfaces - Variable in class org.curjent.impl.asm.ClassWriter
The interfaces implemented or extended by this class or interface.
internal - Variable in class org.curjent.impl.agent.ParamInfo
Parameter type internal name.
InterruptTest - Class in org.curjent.test.agent
Tests for Reentrant.
InterruptTest() - Constructor for class org.curjent.test.agent.InterruptTest
 
InterruptTest.InterruptTestAgent - Interface in org.curjent.test.agent
 
InterruptTest.InterruptTestTask - Class in org.curjent.test.agent
 
InterruptTest.InterruptTestTask() - Constructor for class org.curjent.test.agent.InterruptTest.InterruptTestTask
 
intVal - Variable in class org.curjent.impl.asm.Item
Value of this item, for an integer item.
INVOKEINTERFACE - Static variable in interface org.curjent.impl.asm.Opcodes
 
INVOKESPECIAL - Static variable in interface org.curjent.impl.asm.Opcodes
 
INVOKESTATIC - Static variable in interface org.curjent.impl.asm.Opcodes
 
INVOKEVIRTUAL - Static variable in interface org.curjent.impl.asm.Opcodes
 
IRETURN - Static variable in interface org.curjent.impl.asm.Opcodes
 
isCancelled() - Method in class org.curjent.agent.AgentResult
Always returns false.
isCancelled() - Method in class org.curjent.impl.agent.MessageFuture
Returns true if Message.getCompletion() returns CallCompletion.FUTURE_CANCELLED.
isCompatibleType(ResultInfo) - Method in class org.curjent.impl.agent.ResultInfo
Returns true if two interface methods' return types are compatible.
isDeadcheckRequested() - Method in interface org.curjent.impl.agent.Awaiter
Returns true if this thread has an outstanding deadcheck request.
isDeadcheckRequested() - Method in class org.curjent.impl.agent.Message
Returns true if a deadcheck request is outstanding.
isDone() - Method in class org.curjent.agent.AgentResult
Always returns true.
isDone() - Method in class org.curjent.impl.agent.MessageFuture
Delegates to Message.isFinished().
isEqualTo(Item) - Method in class org.curjent.impl.asm.Item
Indicates if the given item is equal to this one.
isExecuting() - Method in interface org.curjent.impl.agent.Awaiter
Returns true if the awaiter is a Message and it is in the EXECUTING state.
isExecuting() - Method in class org.curjent.impl.agent.Message
Returns true if the state is EXECUTING.
isExecutorBusy() - Method in class org.curjent.impl.agent.Messengers
Returns true if an execute operation is pending.
isFinished() - Method in class org.curjent.agent.AgentResult
Always returns true.
isFinished() - Method in class org.curjent.impl.agent.Message
Returns true if the message's state is FINISHED.
isFuture() - Method in interface org.curjent.agent.CallSite
Returns true if this call site is asynchronous and the interface method's return type is Future or AgentCall.
isFuture() - Method in class org.curjent.impl.agent.CallInfo
true if an asynchronous call and the interface returns Future or AgentCall.
Isolated - Annotation Type in org.curjent.agent
Specifies that a call should execute by itself.
isolated() - Method in interface org.curjent.impl.agent.SyntheticInterface
Isolated marker calls.
isolated() - Method in class org.curjent.impl.agent.SyntheticTask
Isolated marker calls.
isolated(List<Integer>, int) - Method in interface org.curjent.test.agent.MultiTaskTest.MultiAgent
 
isolated(List<Integer>, int) - Method in class org.curjent.test.agent.MultiTaskTest.MultiTask
 
isReentrant() - Method in interface org.curjent.agent.CallSite
Returns true if the task's method is annotated with Reentrant.
isReentrant() - Method in class org.curjent.impl.agent.CallInfo
true if task method is Reentrant.
isReentry() - Method in interface org.curjent.agent.AgentCall
Agent is executing a reentrant call.
isReentry() - Method in class org.curjent.agent.AgentResult
Always returns false.
isReentry() - Method in class org.curjent.impl.agent.Message
Returns true if call is dispatched reentrantly.
isReentry() - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.isReentry().
isSameType(ResultInfo) - Method in class org.curjent.impl.agent.ResultInfo
Returns true if two interface method's return types are the same class.
isSatisfied(CallState) - Method in interface org.curjent.impl.agent.Awaiter
Returns true if the await condition has been satisfied.
isSatisfied(CallState) - Method in class org.curjent.impl.agent.Message
Returns true if the current state is the same or later than the given state.
isSynchronous() - Method in interface org.curjent.agent.CallSite
Returns true if this call site is implicitly or explicitly synchronous.
isSynchronous() - Method in class org.curjent.impl.agent.CallInfo
true if an implicitly or explicitly synchronous call.
isSynthetic() - Method in interface org.curjent.agent.CallSite
Returns true if this is a non-standard agent call.
isSynthetic() - Method in class org.curjent.impl.agent.CallInfo
true if this is a non-standard call.
isTasksBusy() - Method in class org.curjent.impl.agent.Messengers
Returns true if the last call acquire returned null.
ISTORE - Static variable in interface org.curjent.impl.asm.Opcodes
 
Item - Class in org.curjent.impl.asm
A constant pool item.
Item() - Constructor for class org.curjent.impl.asm.Item
Constructs an uninitialized { @link Item}.
Item(int, Item) - Constructor for class org.curjent.impl.asm.Item
Constructs a copy of the given item.
items - Variable in class org.curjent.impl.asm.ClassWriter
The constant pool's hash table data.

J

JSR - Static variable in interface org.curjent.impl.asm.Opcodes
 

K

key - Variable in class org.curjent.impl.agent.Config
Required key to configure the agent.
key - Variable in class org.curjent.impl.agent.MethodInfo
Lookup key for this method.
key - Variable in class org.curjent.impl.asm.ClassWriter
A reusable key used to look for items in the { @link #items} hash table.
key2 - Variable in class org.curjent.impl.asm.ClassWriter
A reusable key used to look for items in the { @link #items} hash table.
key3 - Variable in class org.curjent.impl.asm.ClassWriter
A reusable key used to look for items in the { @link #items} hash table.

L

Label - Class in org.curjent.impl.asm
A label represents a position in the bytecode of a method.
Label() - Constructor for class org.curjent.impl.asm.Label
 
lastField - Variable in class org.curjent.impl.asm.ClassWriter
The fields of this class.
lastHandler - Variable in class org.curjent.impl.asm.MethodWriter
The last element in the exception handler list.
lastMethod - Variable in class org.curjent.impl.asm.ClassWriter
The methods of this class.
LCONST_0 - Static variable in interface org.curjent.impl.asm.Opcodes
 
LDC - Static variable in interface org.curjent.impl.asm.Opcodes
 
Leading - Annotation Type in org.curjent.agent
Specifies that a call should finish executing before any subsequent calls start executing.
leading() - Method in interface org.curjent.impl.agent.SyntheticInterface
Leading marker calls.
leading() - Method in class org.curjent.impl.agent.SyntheticTask
Leading marker calls.
leading(List<Integer>, int, CountDownLatch) - Method in interface org.curjent.test.agent.MultiTaskTest.MultiAgent
 
leading(List<Integer>, int, CountDownLatch) - Method in class org.curjent.test.agent.MultiTaskTest.MultiTask
 
length - Variable in class org.curjent.impl.asm.ByteVector
Actual number of bytes in this vector.
length(File) - Method in interface org.curjent.test.agent.asmify.Copy
 
length(File) - Method in class org.curjent.test.agent.asmify.CopyProxy
 
length(File) - Method in class org.curjent.test.agent.asmify.CopyTask
 
list(String) - Method in class org.curjent.example.agent.ftpxfer.FTPTransferClient
 
listener - Variable in class org.curjent.impl.agent.CallInfo
Default configured listener for this call site.
listener - Variable in class org.curjent.impl.agent.Listeners
Default listener.
listener - Variable in class org.curjent.impl.agent.MarkCall
Default call listener.
listener - Variable in class org.curjent.impl.agent.MessageCall
Call's default listener for unassigned state listeners.
listeners - Variable in class org.curjent.impl.agent.Controller
Agent-wide call state listener configuration.
Listeners - Class in org.curjent.impl.agent
Call listener configuration.
Listeners(Controller) - Constructor for class org.curjent.impl.agent.Listeners
Agent construction.
listeners - Variable in class org.curjent.impl.agent.Listeners
Default call state listeners.
listeners - Variable in class org.curjent.impl.agent.Message
Reference to the effective agent listeners for each of the possible message states, starting from the ordinal value for STARTING to the ordinal for FINISHED.
ListenerTest - Class in org.curjent.test.agent
Tests for CallStateListener.
ListenerTest() - Constructor for class org.curjent.test.agent.ListenerTest
 
ListenerTest.ListenerTestAgent - Interface in org.curjent.test.agent
 
ListenerTest.ListenerTestTask - Class in org.curjent.test.agent
 
ListenerTest.ListenerTestTask() - Constructor for class org.curjent.test.agent.ListenerTest.ListenerTestTask
 
listening - Variable in class org.curjent.impl.agent.Message
Set and cleared before and after a listener is called.
LLOAD - Static variable in interface org.curjent.impl.asm.Opcodes
 
loadArguments(int) - Method in class org.curjent.impl.agent.Message
Validates the argument index, and initializes and returns the cached arguments.
loader - Variable in class org.curjent.impl.agent.Config
Loader used to create this agent.
loader - Variable in class org.curjent.impl.agent.MessageFactory
Agent's loader for creating the message classes.
loader - Variable in class org.curjent.impl.agent.ProxyFactory
Creates and loads generated classes.
local - Variable in class org.curjent.example.agent.ftpxfer.FTPTransferClient
 
local(String) - Method in class org.curjent.example.agent.ftpxfer.FTPTransferClient
 
lock() - Method in interface org.curjent.impl.agent.Awaiter
Optionally acquires the controller's lock.
lock - Variable in class org.curjent.impl.agent.Controller
Primary synchronization mechanism.
lock - Variable in class org.curjent.impl.agent.Deadlocks
Global lock for all operations.
lock() - Method in class org.curjent.impl.agent.Message
Empty placeholder that does nothing.
lock - Variable in class org.curjent.impl.agent.ProxyCache
Lock for accessing the top-level map.
log(Object) - Method in interface org.curjent.example.agent.logger.Logger
 
log(String, Object...) - Method in interface org.curjent.example.agent.logger.Logger
 
log(String, Throwable) - Method in interface org.curjent.example.agent.logger.Logger
 
log(Object) - Method in class org.curjent.example.agent.logger.LoggerTask
 
log(String, Object...) - Method in class org.curjent.example.agent.logger.LoggerTask
 
log(String, Throwable) - Method in class org.curjent.example.agent.logger.LoggerTask
 
log(Object) - Method in class org.curjent.test.agent.AgentTest
 
log(Object) - Static method in class org.curjent.test.agent.asmify.CopyTask
 
log(Object) - Static method in class org.curjent.test.agent.asmify.CopyTest
 
log(Throwable) - Static method in class org.curjent.test.agent.asmify.CopyTest
 
log(Object) - Method in class org.curjent.test.agent.asmify.GenerateAsm
Prints the object to stdout.
logger - Static variable in class org.curjent.example.agent.ftpxfer.FTPTransferClient
 
logger - Static variable in class org.curjent.example.agent.ftpxfer.FTPTransferTask
 
Logger - Interface in org.curjent.example.agent.logger
The is an example of a logging agent.
LoggerTask - Class in org.curjent.example.agent.logger
Logger task.
LoggerTask() - Constructor for class org.curjent.example.agent.logger.LoggerTask
 
LoggerTest - Class in org.curjent.example.agent.logger
Logger test driver.
LoggerTest() - Constructor for class org.curjent.example.agent.logger.LoggerTest
 
LONG - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_Long constant pool items.
longVal - Variable in class org.curjent.impl.asm.Item
Value of this item, for a long item.
LRETURN - Static variable in interface org.curjent.impl.asm.Opcodes
 
LSTORE - Static variable in interface org.curjent.impl.asm.Opcodes
 

M

m0 - Variable in class org.curjent.test.agent.CallSiteTest
 
m1() - Method in interface org.curjent.test.agent.AgentCallTest.AgentCallTestAgent
 
m1() - Method in class org.curjent.test.agent.AgentCallTest.AgentCallTestTask
 
m1() - Method in interface org.curjent.test.agent.CallSiteTest.BaseInterface
 
m1() - Method in interface org.curjent.test.agent.CallSiteTest.CallSiteTestAgent
 
m1() - Method in class org.curjent.test.agent.CallSiteTest.CallSiteTestTask
 
m1 - Variable in class org.curjent.test.agent.CallSiteTest
 
m1(CountDownLatch) - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
m1 - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m1(CountDownLatch) - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m1() - Method in interface org.curjent.test.agent.ListenerTest.ListenerTestAgent
 
m1() - Method in class org.curjent.test.agent.ListenerTest.ListenerTestTask
 
m1 - Variable in class org.curjent.test.agent.ListenerTest
 
m2(int) - Method in interface org.curjent.test.agent.AgentCallTest.AgentCallTestAgent
 
m2(int) - Method in class org.curjent.test.agent.AgentCallTest.AgentCallTestTask
 
m2() - Method in interface org.curjent.test.agent.CallSiteTest.CallSiteTestAgent
 
m2() - Method in class org.curjent.test.agent.CallSiteTest.CallSiteTestTask
 
m2 - Variable in class org.curjent.test.agent.CallSiteTest
 
m2(DeadlockTest.DeadlockTestAgent, DeadlockTest.DeadlockTestAgent, CountDownLatch) - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
m2 - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m2(DeadlockTest.DeadlockTestAgent, DeadlockTest.DeadlockTestAgent, CountDownLatch) - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m2(double) - Method in interface org.curjent.test.agent.ListenerTest.ListenerTestAgent
 
m2(double) - Method in class org.curjent.test.agent.ListenerTest.ListenerTestTask
 
m2 - Variable in class org.curjent.test.agent.ListenerTest
 
m3(CountDownLatch) - Method in interface org.curjent.test.agent.AgentCallTest.AgentCallTestAgent
 
m3(CountDownLatch) - Method in class org.curjent.test.agent.AgentCallTest.AgentCallTestTask
 
m3() - Method in interface org.curjent.test.agent.CallSiteTest.CallSiteTestAgent
 
m3() - Method in class org.curjent.test.agent.CallSiteTest.CallSiteTestTask
 
m3 - Variable in class org.curjent.test.agent.CallSiteTest
 
m3(long) - Method in interface org.curjent.test.agent.ListenerTest.ListenerTestAgent
 
m3(long) - Method in class org.curjent.test.agent.ListenerTest.ListenerTestTask
 
m3 - Variable in class org.curjent.test.agent.ListenerTest
 
m3a() - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
m3a - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m3a() - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m3b() - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
m3b - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m3b() - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m4(CountDownLatch, int, Integer) - Method in interface org.curjent.test.agent.AgentCallTest.AgentCallTestAgent
 
m4(CountDownLatch, int, Integer) - Method in class org.curjent.test.agent.AgentCallTest.AgentCallTestTask
 
m4() - Method in interface org.curjent.test.agent.CallSiteTest.CallSiteTestAgent
 
m4() - Method in class org.curjent.test.agent.CallSiteTest.CallSiteTestTask
 
m4 - Variable in class org.curjent.test.agent.CallSiteTest
 
m4(DeadlockTest.DeadlockTestAgent) - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
m4 - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m4(DeadlockTest.DeadlockTestAgent) - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m5() - Method in interface org.curjent.test.agent.AgentCallTest.AgentCallTestAgent
 
m5() - Method in class org.curjent.test.agent.AgentCallTest.AgentCallTestTask
 
m5() - Method in interface org.curjent.test.agent.CallSiteTest.CallSiteTestAgent
 
m5() - Method in class org.curjent.test.agent.CallSiteTest.CallSiteTestTask
 
m5 - Variable in class org.curjent.test.agent.CallSiteTest
 
m5() - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
m5 - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m5() - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
m6() - Method in interface org.curjent.test.agent.AgentCallTest.AgentCallTestAgent
 
m6() - Method in class org.curjent.test.agent.AgentCallTest.AgentCallTestTask
 
m6() - Method in interface org.curjent.test.agent.CallSiteTest.CallSiteTestAgent
 
m6() - Method in class org.curjent.test.agent.CallSiteTest.CallSiteTestTask
 
m6 - Variable in class org.curjent.test.agent.CallSiteTest
 
m7() - Method in interface org.curjent.test.agent.CallSiteTest.CallSiteTestAgent
 
m7() - Method in class org.curjent.test.agent.CallSiteTest.CallSiteTestTask
 
m7 - Variable in class org.curjent.test.agent.CallSiteTest
 
ma(DeadlockTest.DeadlockTestAgent, CountDownLatch) - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
ma - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
ma(DeadlockTest.DeadlockTestAgent, CountDownLatch) - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mad - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
main(String[]) - Static method in class org.curjent.example.agent.filecopy.FileCopyTest
 
main(String[]) - Static method in class org.curjent.example.agent.ftpxfer.FTPTransferTest
 
main(String[]) - Static method in class org.curjent.example.agent.HelloWorld
 
main(String[]) - Static method in class org.curjent.example.agent.helloworld.WorldTest
 
main(String[]) - Static method in class org.curjent.example.agent.logger.LoggerTest
 
main(String[]) - Static method in class org.curjent.test.agent.asmify.CopyTest
 
main(String[]) - Static method in class org.curjent.test.agent.asmify.GenerateAsm
Command line entry point.
map - Static variable in class org.curjent.impl.agent.BoxedInfo
Maps the primitive types, such as Boolean.TYPE, to their corresponding BoxedInfo instances.
map - Variable in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
mark(Object) - Static method in class org.curjent.agent.Agent
Creates a synthetic mark to trace the progress of prior agent calls.
mark - Variable in class org.curjent.impl.agent.Controller
Marker state.
Mark - Class in org.curjent.impl.agent
Internal message context for markers.
Mark() - Constructor for class org.curjent.impl.agent.Mark
 
mark - Variable in class org.curjent.impl.agent.Message
Marker state for this message.
mark(List<Integer>, int) - Method in interface org.curjent.test.agent.MultiTaskTest.MultiAgent
 
mark(List<Integer>, int) - Method in class org.curjent.test.agent.MultiTaskTest.MultiTask
 
MarkCall - Class in org.curjent.impl.agent
Implementation for configuring synthetic marks.
MarkCall(Proxy) - Constructor for class org.curjent.impl.agent.MarkCall
Saves the proxy's controller to MarkCall.controller for later use by MarkCall.call().
Marker - Annotation Type in org.curjent.agent
Specifies that a call should not start executing until all prior calls have finished executing.
markerPrototype - Static variable in class org.curjent.impl.agent.MarkCall
Map of marker types to prototype call sites for each synthetic interface and task method specific to marks.
MarkerType - Enum in org.curjent.agent
Type of Marker.
MarkerType() - Constructor for enum org.curjent.agent.MarkerType
 
markerType - Variable in class org.curjent.impl.agent.CallInfo
Type of Marker.
markerType - Variable in class org.curjent.impl.agent.MarkCall
The type of marker send to the agent.
markerType - Variable in class org.curjent.impl.agent.Message
Type of Marker.
markerType - Variable in class org.curjent.impl.agent.MethodInfo
Type of Marker.
max - Variable in class org.curjent.agent.ReusableTask
Maximum number of times the task can be acquired.
maxLocals - Variable in class org.curjent.impl.asm.MethodWriter
Maximum number of local variables for this method.
maxStack - Variable in class org.curjent.impl.asm.MethodWriter
Maximum stack size of this method.
mb(DeadlockTest.DeadlockTestAgent) - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
mb - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mb(DeadlockTest.DeadlockTestAgent) - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mbd - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mc(DeadlockTest.DeadlockTestAgent, DeadlockTest.DeadlockTestAgent) - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
mc - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mc(DeadlockTest.DeadlockTestAgent, DeadlockTest.DeadlockTestAgent) - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
md(DeadlockTest.DeadlockTestAgent) - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
md - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
md(DeadlockTest.DeadlockTestAgent) - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mdd - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
message - Variable in class org.curjent.impl.agent.Controller
Thread-local storage of the most recent message sent to this agent.
message - Variable in class org.curjent.impl.agent.ExpirationsTimer
Owning message configured for expiration.
Message - Class in org.curjent.impl.agent
Base class for generated message classes.
Message(CallInfo) - Constructor for class org.curjent.impl.agent.Message
Saves the message's controller and call site information.
message - Variable in class org.curjent.impl.agent.MessageFuture
Call receiver.
message - Variable in class org.curjent.impl.agent.Messenger
Current executing message for this messenger.
MESSAGE_CALL_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for MessageCall.
MESSAGE_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for Message.
MESSAGE_FUTURE_INIT_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for the MessageFuture's constructor.
MESSAGE_FUTURE_INTERNAL - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM name for MessageFuture.
MESSAGE_INIT_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for the generated message constructors.
messageBoxed - Variable in class org.curjent.impl.agent.ResultInfo
Primitive value boxing and unboxing information for the message field's type.
MessageCall - Class in org.curjent.impl.agent
Implements AgentCall on behalf of a message.
MessageCall(Message) - Constructor for class org.curjent.impl.agent.MessageCall
Saves the owning message.
messageCall - Variable in class org.curjent.impl.agent.ResultInfo
true if messageFuture is true and the interface method's return type is AgentCall.
messageDescriptor - Variable in class org.curjent.impl.agent.ResultInfo
Message field type descriptor.
MessageFactory - Class in org.curjent.impl.agent
Factory for generating and creating an agent's message classes.
MessageFactory(AgentLoader, TypeInfo) - Constructor for class org.curjent.impl.agent.MessageFactory
Initializes the factory.
MessageFuture - Class in org.curjent.impl.agent
Delegates all Future calls to a Message receiver.
MessageFuture(Message) - Constructor for class org.curjent.impl.agent.MessageFuture
Saves the receiver.
messageFuture - Variable in class org.curjent.impl.agent.ResultInfo
true if the agent call is asynchronous and returns a future value.
messageInternal - Variable in class org.curjent.impl.agent.MethodInfo
Internal JVM name for the message class.
messageInternal - Variable in class org.curjent.impl.agent.ResultInfo
Message field internal name.
messageName - Variable in class org.curjent.impl.agent.MethodInfo
Name of the message class generated for this method.
messageResult - Variable in class org.curjent.impl.agent.ResultInfo
true if the task method's return type is not void.
messages - Variable in class org.curjent.impl.agent.Controller
Ordered list of pending and accepted Message instances.
Messages - Class in org.curjent.impl.agent
Custom linked list for queuing instances of Message.
Messages() - Constructor for class org.curjent.impl.agent.Messages
 
messageSynchronous - Variable in class org.curjent.impl.agent.ResultInfo
true if the agent call is synchronous.
messageType - Variable in class org.curjent.impl.agent.ResultInfo
Message field type for holding the return value.
Messenger - Class in org.curjent.impl.agent
Background thread processor.
Messenger(Controller, Object) - Constructor for class org.curjent.impl.agent.Messenger
Saves the controller and task for executing messages.
messengers - Variable in class org.curjent.impl.agent.Controller
Starts new messengers in background tasks.
Messengers - Class in org.curjent.impl.agent
Runs messengers in background threads.
Messengers(AgentTasks) - Constructor for class org.curjent.impl.agent.Messengers
Initializes the messengers.
METH - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_Methodref constant pool items.
method - Variable in class org.curjent.impl.agent.CallKey
Name of the method.
MethodInfo - Class in org.curjent.impl.agent
Information for bytecode generation of methods.
MethodInfo(Method) - Constructor for class org.curjent.impl.agent.MethodInfo
Initializes this instance with information from the interface's method.
methods - Variable in class org.curjent.impl.agent.TypeInfo
Information for each unique interface method.
MethodWriter - Class in org.curjent.impl.asm
A { @link MethodVisitor} that generates methods in bytecode form.
MethodWriter(ClassWriter, int, String, String, String, String[], boolean, boolean) - Constructor for class org.curjent.impl.asm.MethodWriter
Constructs a new { @link MethodWriter}.
mi() - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
mi - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mi() - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mj() - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
mj - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mj() - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mk() - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
mk - Variable in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
mk() - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
monitor - Variable in class org.curjent.impl.agent.ExpirationsTask
Synchronization monitor for timer feeds.
MONITORENTER - Static variable in interface org.curjent.impl.asm.Opcodes
 
MONITOREXIT - Static variable in interface org.curjent.impl.asm.Opcodes
 
MultiTaskTest - Class in org.curjent.test.agent
Tests agents with multiple tasks.
MultiTaskTest() - Constructor for class org.curjent.test.agent.MultiTaskTest
 
MultiTaskTest.MultiAgent - Interface in org.curjent.test.agent
 
MultiTaskTest.MultiTask - Class in org.curjent.test.agent
 
MultiTaskTest.MultiTask() - Constructor for class org.curjent.test.agent.MultiTaskTest.MultiTask
 

N

name - Variable in class org.curjent.impl.agent.MethodInfo
Method's name.
name - Variable in class org.curjent.impl.agent.ParamInfo
Message field name.
name - Variable in class org.curjent.impl.asm.ClassWriter
The constant pool item that contains the internal name of this class.
name - Variable in class org.curjent.impl.asm.FieldWriter
The index of the constant pool item that contains the name of this method.
name - Variable in class org.curjent.impl.asm.MethodWriter
The index of the constant pool item that contains the name of this method.
NAME_TYPE - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_NameAndType constant pool items.
nanos(long, TimeUnit, long) - Static method in class org.curjent.impl.agent.Util
Converts a timeout value to nanoseconds.
NEW - Static variable in interface org.curjent.impl.asm.Opcodes
 
newAgent() - Static method in class org.curjent.example.agent.logger.LoggerTask
 
newAgent() - Method in class org.curjent.test.agent.AgentAwaitTest
 
newAgent() - Method in class org.curjent.test.agent.DeadlockTest
 
newClass(String) - Method in class org.curjent.impl.asm.ClassWriter
Adds a class reference to the constant pool of the class being build.
newClassItem(String) - Method in class org.curjent.impl.asm.ClassWriter
Adds a class reference to the constant pool of the class being build.
newConstItem(Object) - Method in class org.curjent.impl.asm.ClassWriter
Adds a number or string constant to the constant pool of the class being build.
newDouble(double) - Method in class org.curjent.impl.asm.ClassWriter
Adds a double to the constant pool of the class being build.
newFieldItem(String, String, String) - Method in class org.curjent.impl.asm.ClassWriter
Adds a field reference to the constant pool of the class being build.
newFloat(float) - Method in class org.curjent.impl.asm.ClassWriter
Adds a float to the constant pool of the class being build.
newInstance(Class<T>, Object) - Static method in class org.curjent.agent.Agent
Creates and returns a new agent with one background task.
newInstance(Class<T>, AgentTasks) - Static method in class org.curjent.agent.Agent
Creates and returns a new agent with one or more tasks.
newInstance(AgentLoader, Class<?>[], AgentTasks, Class<?>) - Static method in class org.curjent.agent.Agent
Creates and returns a new agent.
newInstance(Class<T>, Object) - Static method in class org.curjent.example.agent.factory.Agents
 
newInstance(Class<T>, AgentTasks) - Static method in class org.curjent.example.agent.factory.Agents
 
newInstance() - Method in interface org.curjent.example.agent.filecopy.FileCopyFactory
 
newInstance(String, String, int) - Method in interface org.curjent.example.agent.ftpxfer.FTPTransferFactory
 
newInstance() - Method in interface org.curjent.example.agent.helloworld.WorldFactory
 
newInstance(AgentLoader, Class<?>[], AgentTasks, Class<?>) - Static method in class org.curjent.impl.agent.Insider
Implementation for Agent.newInstance(AgentLoader, Class[], AgentTasks, Class) and related methods.
newInstance() - Method in class org.curjent.impl.agent.ProxyFactory
Returns a new proxy.
newInteger(int) - Method in class org.curjent.impl.asm.ClassWriter
Adds an integer to the constant pool of the class being build.
newLong(long) - Method in class org.curjent.impl.asm.ClassWriter
Adds a long to the constant pool of the class being build.
newMessage(Controller, MarkerType) - Static method in class org.curjent.impl.agent.MarkCall
Creates and returns a new synthetic message for the given type of marker.
newMethodItem(String, String, String, boolean) - Method in class org.curjent.impl.asm.ClassWriter
Adds a method reference to the constant pool of the class being build.
newNameType(String, String) - Method in class org.curjent.impl.asm.ClassWriter
Adds a name and type to the constant pool of the class being build.
newString(String) - Method in class org.curjent.impl.asm.ClassWriter
Adds a string to the constant pool of the class being build.
newTasks(String, String, int) - Static method in class org.curjent.example.agent.ftpxfer.FTPTransferTasks
 
newTestAgent() - Method in class org.curjent.test.agent.AgentAwaitTest
 
newTestAgent() - Method in class org.curjent.test.agent.AgentCallTest
 
newTestAgent() - Method in class org.curjent.test.agent.AgentMarkTest
 
newTestAgent() - Method in class org.curjent.test.agent.AgentTest
 
newTestAgent() - Method in class org.curjent.test.agent.CallSiteTest
 
newTestAgent() - Method in class org.curjent.test.agent.CapacityTest
 
newTestAgent() - Method in class org.curjent.test.agent.ConfigLockTest
 
newTestAgent() - Method in class org.curjent.test.agent.ConfigTest
 
newTestAgent() - Method in class org.curjent.test.agent.DeadlockTest
 
newTestAgent() - Method in class org.curjent.test.agent.ExpirationTest
 
newTestAgent() - Method in class org.curjent.test.agent.FutureTest
 
newTestAgent() - Method in class org.curjent.test.agent.InsiderTest
 
newTestAgent() - Method in class org.curjent.test.agent.InterruptTest
 
newTestAgent() - Method in class org.curjent.test.agent.ListenerTest
 
newTestAgent() - Method in class org.curjent.test.agent.MultiTaskTest
 
newTestAgent() - Method in class org.curjent.test.agent.ProxyTest
 
newTestAgent() - Method in class org.curjent.test.agent.ReentrantTest
 
newUTF8(String) - Method in class org.curjent.impl.asm.ClassWriter
Adds an UTF8 string to the constant pool of the class being build.
next - Variable in class org.curjent.impl.agent.Mark
Links to the next, newer mark.
next - Variable in class org.curjent.impl.agent.Message
The next message in the queue.
next(Message) - Method in class org.curjent.impl.agent.Messages
Returns a references to the next accepted message without removing it.
next(Message) - Method in class org.curjent.impl.agent.Queue
Return the next message in the queue or null if the given message is the last message.
next - Variable in class org.curjent.impl.asm.FieldWriter
Next field writer (see { @link ClassWriter#firstField firstField}).
next - Variable in class org.curjent.impl.asm.Handler
Next exception handler block info.
next - Variable in class org.curjent.impl.asm.Item
Link to another constant pool item, used for collision lists in the constant pool's hash table.
next - Variable in class org.curjent.impl.asm.MethodWriter
Next method writer (see { @link ClassWriter#firstMethod firstMethod}).
NIL - Static variable in class org.curjent.impl.agent.Expirations
Signals that an expiration timeout has not yet been explicitly set.
NOEXCEPTION - Static variable in class org.curjent.impl.agent.Message
Used to finish the message without changing the exception.
NORESULT - Static variable in class org.curjent.impl.agent.Message
Used to finish the message without changing the result.
notify(CallStateListener<?>[], int, CallState) - Method in class org.curjent.impl.agent.Message
Notifies the appropriate listener if any.
now() - Static method in class org.curjent.impl.agent.ExpirationsTimer
Returns the "current" time in nanoseconds.
NULL_LISTENERS - Static variable in class org.curjent.impl.agent.Listeners
null call state listeners.

O

Opcodes - Interface in org.curjent.impl.asm
Defines the JVM opcodes, access flags and array type codes.
org.curjent.agent - package org.curjent.agent
Agent public API.
org.curjent.example.agent - package org.curjent.example.agent
Example agents from the curjent website.
org.curjent.example.agent.factory - package org.curjent.example.agent.factory
Factory examples from the curjent website.
org.curjent.example.agent.filecopy - package org.curjent.example.agent.filecopy
File copy example from the curjent website.
org.curjent.example.agent.ftpxfer - package org.curjent.example.agent.ftpxfer
File transfer example from the curjent website.
org.curjent.example.agent.helloworld - package org.curjent.example.agent.helloworld
Hello world example from the curjent website.
org.curjent.example.agent.logger - package org.curjent.example.agent.logger
Logger example from the curjent website.
org.curjent.impl.agent - package org.curjent.impl.agent
Agent private implementation classes.
org.curjent.impl.asm - package org.curjent.impl.asm
Private, trimmed-down version of ASM.
org.curjent.test - package org.curjent.test
Curjent unit tests.
org.curjent.test.agent - package org.curjent.test.agent
Agent unit tests.
org.curjent.test.agent.asmify - package org.curjent.test.agent.asmify
Agent ASM test files.

P

paramCount - Variable in class org.curjent.impl.agent.CallInfo
Number of method parameters.
ParamInfo - Class in org.curjent.impl.agent
Information for bytecode generation of method parameters.
ParamInfo(Class<?>, int) - Constructor for class org.curjent.impl.agent.ParamInfo
Extracts and saves information for a parameter.
params - Variable in class org.curjent.impl.agent.CallKey
Method's list of parameter types.
params - Variable in class org.curjent.impl.agent.MethodInfo
Information for the method's parameters.
paramTotal - Variable in class org.curjent.impl.agent.MethodInfo
Total stack size for the method's arguments.
PATH_SEPARATOR - Static variable in class org.curjent.test.agent.asmify.GenerateAsm
Separator for directory and file names in file system paths.
peek() - Method in class org.curjent.impl.agent.Messages
Returns a reference to the first accepted message without removing it.
pending - Variable in class org.curjent.impl.agent.Messages
Queue of pending messages.
pending - Variable in class org.curjent.impl.agent.Messengers
true while the executor starts up a new messenger.
PENDING_DEFAULT - Static variable in class org.curjent.test.agent.CapacityTest
 
pendingCapacity - Variable in class org.curjent.impl.agent.ProxyInfo
Value from Capacity.pending() or Integer.MAX_VALUE.
pendingCapacity - Variable in class org.curjent.impl.agent.Stats
 
pendingNanos - Variable in class org.curjent.impl.agent.Messages
Nanosecond equivalent of the pending message timeout value.
pendingTimeout - Variable in class org.curjent.impl.agent.Messages
Pending message timeout value.
pendingTimeout - Variable in class org.curjent.impl.agent.ProxyInfo
Value from Capacity.timeout() or Long.MAX_VALUE.
pendingTimeout - Variable in class org.curjent.impl.agent.Stats
 
pendingUnit - Variable in class org.curjent.impl.agent.Messages
Pending message timeout unit.
pendingUnit - Variable in class org.curjent.impl.agent.ProxyInfo
Value from Capacity.unit() or TimeUnit.NANOSECONDS.
pendingUnit - Variable in class org.curjent.impl.agent.Stats
 
pool - Variable in class org.curjent.impl.asm.ClassWriter
The constant pool of this class.
POP - Static variable in interface org.curjent.impl.asm.Opcodes
 
position - Variable in class org.curjent.impl.asm.Label
The position of this label in the code, if known.
prev - Variable in class org.curjent.impl.agent.Message
The previous message in the queue.
processQueue() - Method in class org.curjent.impl.agent.ExpirationsTask
Dequeues and expires messages.
PROJECT_ROOT - Static variable in class org.curjent.test.agent.asmify.GenerateAsm
Argument index for the project root.
propagate(Thread, HashSet<Thread>, HashSet<Thread>, HashMap<Thread, HashSet<Thread>>) - Method in class org.curjent.impl.agent.Deadlocks
Updates isBlocking to include circular dependencies.
proxy - Variable in class org.curjent.impl.agent.Config
Proxy object returned to the caller of newInstance.
Proxy - Class in org.curjent.impl.agent
Base class for generated proxy classes.
Proxy(Controller) - Constructor for class org.curjent.impl.agent.Proxy
Saves a reference to the controller.
ProxyCache - Class in org.curjent.impl.agent
Cache for generated proxy classes.
ProxyCache() - Constructor for class org.curjent.impl.agent.ProxyCache
 
ProxyFactory - Class in org.curjent.impl.agent
Factory for generating and creating an agent's proxy.
ProxyFactory(AgentLoader, ClassLoader, Class<?>[], AgentTasks, Class<?>) - Constructor for class org.curjent.impl.agent.ProxyFactory
Initializes the factory.
proxyId - Variable in class org.curjent.impl.agent.TypeInfo
Unique id used to create uniquely named classes.
ProxyInfo - Class in org.curjent.impl.agent
Cached information needed to create a new proxy instance.
ProxyInfo(Constructor<?>, TypeInfo) - Constructor for class org.curjent.impl.agent.ProxyInfo
Saves the constructor and extracts any additional runtime information needed to initialize new proxy instances.
proxyInternal - Variable in class org.curjent.impl.agent.TypeInfo
Internal JVM name for the proxy class.
proxyKey - Variable in class org.curjent.impl.agent.ProxyFactory
Unique caching key for this proxy.
proxyName - Variable in class org.curjent.impl.agent.TypeInfo
Proxy's class name.
ProxyTest - Class in org.curjent.test.agent
Tests the generated agent proxy.
ProxyTest() - Constructor for class org.curjent.test.agent.ProxyTest
 
ProxyTest.ProxyTestAgent - Interface in org.curjent.test.agent
 
ProxyTest.ProxyTestTask - Class in org.curjent.test.agent
 
ProxyTest.ProxyTestTask() - Constructor for class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
pump(Messenger) - Method in class org.curjent.impl.agent.Controller
Main message loop for assigning messages to messengers for execution.
pump(Messenger, Throwable) - Method in class org.curjent.impl.agent.Controller
Message pump for the messenger's main loop.
pump() - Method in class org.curjent.impl.agent.Messages
Transitions pending messages to the accepted queue as availability and capacity permits.
put(ClassLoader, String, ProxyInfo) - Method in class org.curjent.impl.agent.ProxyCache
Caches a proxy's info.
put(Item) - Method in class org.curjent.impl.asm.ClassWriter
Puts the given item in the constant pool's hash table.
put(ByteVector) - Method in class org.curjent.impl.asm.FieldWriter
Puts the content of this field into the given byte vector.
put(MethodWriter, ByteVector, int, boolean) - Method in class org.curjent.impl.asm.Label
Puts a reference to this label in the bytecode of a method.
put(ByteVector) - Method in class org.curjent.impl.asm.MethodWriter
Puts the bytecode of this method in the given byte vector.
put11(int, int) - Method in class org.curjent.impl.asm.ByteVector
Puts two bytes into this byte vector.
put12(int, int) - Method in class org.curjent.impl.asm.ByteVector
Puts a byte and a short into this byte vector.
put122(int, int, int) - Method in class org.curjent.impl.asm.ClassWriter
Puts one byte and two shorts into the constant pool.
putByte(int) - Method in class org.curjent.impl.asm.ByteVector
Puts a byte into this byte vector.
putByteArray(byte[], int, int) - Method in class org.curjent.impl.asm.ByteVector
Puts an array of bytes into this byte vector.
PUTFIELD - Static variable in interface org.curjent.impl.asm.Opcodes
 
putInt(int) - Method in class org.curjent.impl.asm.ByteVector
Puts an int into this byte vector.
putLong(long) - Method in class org.curjent.impl.asm.ByteVector
Puts a long into this byte vector.
putShort(int) - Method in class org.curjent.impl.asm.ByteVector
Puts a short into this byte vector.
PUTSTATIC - Static variable in interface org.curjent.impl.asm.Opcodes
 
putUTF8(String) - Method in class org.curjent.impl.asm.ByteVector
Puts an UTF8 string into this byte vector.

Q

queue - Variable in class org.curjent.agent.FixedTasks
List of available tasks.
queue - Variable in class org.curjent.impl.agent.ExpirationsTask
Ordered queue of timers.
queue - Variable in class org.curjent.impl.agent.Message
The owning queue of this message or null if not owned.
Queue - Class in org.curjent.impl.agent
Implements a doubly linked linked list for agent messages.
Queue() - Constructor for class org.curjent.impl.agent.Queue
 

R

read(long, int) - Method in interface org.curjent.test.agent.asmify.Copy
 
read(long, int) - Method in class org.curjent.test.agent.asmify.CopyProxy
 
read(long, int) - Method in class org.curjent.test.agent.asmify.CopyTask
 
record(List<Integer>, int) - Method in interface org.curjent.test.agent.MultiTaskTest.MultiAgent
 
record(List<Integer>, int) - Method in class org.curjent.test.agent.MultiTaskTest.MultiTask
 
Reentrant - Annotation Type in org.curjent.agent
Specifies that a synchronous call can be executed within the context of an existing agent call without blocking.
reentrant - Variable in class org.curjent.impl.agent.CallInfo
true if the task's method is annotated with Reentrant.
reentrant - Variable in class org.curjent.impl.agent.MethodInfo
true if the task's method is annotated with Reentrant.
ReentrantTest - Class in org.curjent.test.agent
Tests for Reentrant.
ReentrantTest() - Constructor for class org.curjent.test.agent.ReentrantTest
 
ReentrantTest.ReentrantTestAgent - Interface in org.curjent.test.agent
 
ReentrantTest.ReentrantTestTask - Class in org.curjent.test.agent
 
ReentrantTest.ReentrantTestTask() - Constructor for class org.curjent.test.agent.ReentrantTest.ReentrantTestTask
 
reentry - Variable in class org.curjent.impl.agent.Message
Set to true if this message is reentering the agent.
referenceCount - Variable in class org.curjent.impl.asm.Label
Number of forward references to this label, times two.
release(Object) - Method in interface org.curjent.agent.AgentTasks
Releases a task.
release(Object) - Method in class org.curjent.agent.DynamicTasks
Releases a task.
release(Object) - Method in class org.curjent.agent.FixedTasks
Adds the given task to our list of available tasks.
release(Object) - Method in class org.curjent.agent.ReusableTask
Decrements the number of outstanding acquires.
release(Object) - Method in class org.curjent.agent.SingletonTask
Releases the given task, making it available to be acquired again.
release(Object) - Method in class org.curjent.example.agent.ftpxfer.FTPTransferTasks
 
release(Messenger) - Method in class org.curjent.impl.agent.Messengers
Releases a messenger and its task.
remote - Variable in class org.curjent.example.agent.ftpxfer.FTPTransferClient
 
resolve(MethodWriter, int, byte[]) - Method in class org.curjent.impl.asm.Label
Resolves all forward references to this label.
RESOLVED - Static variable in class org.curjent.impl.asm.Label
Indicates if the position of this label is known.
result - Variable in class org.curjent.impl.agent.CallKey
Method's return type.
result - Variable in class org.curjent.impl.agent.MethodInfo
Information on the interface and task results.
result - Variable in class org.curjent.test.agent.asmify.CopyMessage_Count
 
result - Variable in class org.curjent.test.agent.asmify.CopyMessage_Exists
 
result - Variable in class org.curjent.test.agent.asmify.CopyMessage_File
 
result - Variable in class org.curjent.test.agent.asmify.CopyMessage_Length
 
result - Variable in class org.curjent.test.agent.asmify.CopyMessage_Read
 
result - Variable in class org.curjent.test.agent.asmify.CopyMessage_Status
 
ResultInfo - Class in org.curjent.impl.agent
Information for bytecode generation of method results.
ResultInfo(Method) - Constructor for class org.curjent.impl.agent.ResultInfo
Initializes the interface method's return type fields (i.e., the fields of this class whose names begin with type) with information from the given interface method.
RET - Static variable in interface org.curjent.impl.asm.Opcodes
 
retrieve(String) - Method in class org.curjent.example.agent.ftpxfer.FTPTransferClient
 
RETURN - Static variable in interface org.curjent.impl.asm.Opcodes
 
ReusableTask - Class in org.curjent.agent
Source for a task that can be used concurrently by multiple threads.
ReusableTask(Object, int) - Constructor for class org.curjent.agent.ReusableTask
Initializes this instance with the one reusable task and the maximum number of times it can be acquired.
run(Runnable) - Method in interface org.curjent.agent.AgentCall
Runs the runnable object within a stable call and agent context.
run(Runnable) - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
run(Messenger) - Method in class org.curjent.impl.agent.Controller
Main message loop for a messenger running in a background thread.
run() - Method in class org.curjent.impl.agent.ExpirationsTask
Runs the background task for as long as there are more timers to process.
run(Runnable) - Method in class org.curjent.impl.agent.MessageCall
Locks the agent, synchronizes the message, and runs the given runnable.
run() - Method in class org.curjent.impl.agent.Messenger
Calls Controller.run(Messenger).
run(String[]) - Method in class org.curjent.test.agent.asmify.GenerateAsm
Evaluates and saves the command line arguments
running - Variable in class org.curjent.impl.agent.ExpirationsTask
Starting, stopping, and restarting the background task is coordinated using AtomicBoolean.compareAndSet(boolean, boolean).

S

SAVE - Static variable in class org.curjent.impl.agent.Factory
Debug flag to save generated classes to the file system.
save(String, byte[]) - Static method in class org.curjent.impl.agent.Factory
Saves a generated class file to disk.
send(Message) - Method in class org.curjent.impl.agent.Controller
Adds a new message.
send(Message) - Static method in class org.curjent.impl.agent.MarkCall
Sends the given message to its controller and wraps checked exceptions.
sequence - Variable in class org.curjent.impl.agent.Expirations
Current sequence value for ExpirationsTimer.
sequence - Variable in class org.curjent.impl.agent.ExpirationsTimer
Ordered sequence value for this timer.
serialVersionUID - Static variable in exception org.curjent.agent.AgentException
Java Object serialization id.
serialVersionUID - Static variable in exception org.curjent.agent.CallSiteNotFoundException
Java Object serialization id.
serialVersionUID - Static variable in exception org.curjent.agent.CapacityExceededException
Java Object serialization id.
serialVersionUID - Static variable in exception org.curjent.agent.ConfigLockedException
Java Object serialization id.
serialVersionUID - Static variable in exception org.curjent.agent.DeadlockException
Java Object serialization id.
serialVersionUID - Static variable in exception org.curjent.agent.ExpiredException
Java Object serialization id.
serialVersionUID - Static variable in exception org.curjent.test.agent.TestException
 
set(int) - Method in class org.curjent.impl.asm.Item
Sets this item to an integer item.
set(long) - Method in class org.curjent.impl.asm.Item
Sets this item to a long item.
set(float) - Method in class org.curjent.impl.asm.Item
Sets this item to a float item.
set(double) - Method in class org.curjent.impl.asm.Item
Sets this item to a double item.
set(int, String, String, String) - Method in class org.curjent.impl.asm.Item
Sets this item to an item that do not hold a primitive value.
setAcceptedCapacity(int) - Method in interface org.curjent.agent.AgentConfig
Sets the maximum number of messages an agent will immediately queue for processing.
setAcceptedCapacity(int) - Method in class org.curjent.impl.agent.Config
Updates the current maximum for accepted messages.
setAcceptedCapacity(int) - Method in class org.curjent.impl.agent.Messages
Updates the current maximum for accepted messages and calls Messages.pump().
setAgent(ConfigTest.ConfigTestAgent) - Method in interface org.curjent.test.agent.ConfigTest.ConfigTestAgent
 
setAgent(ConfigTest.ConfigTestAgent) - Method in class org.curjent.test.agent.ConfigTest.ConfigTestTask
 
setArgument(int, Object) - Method in interface org.curjent.agent.AgentCall
Sets an argument value.
setArgument(int, Object) - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
setArgument(int, Object) - Method in class org.curjent.impl.agent.Message
Sets the value of an argument to pass to the task's method.
setArgument(int, Object) - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.setArgument(int, Object).
setArgumentValue(int, Object) - Method in class org.curjent.impl.agent.Message
Method implemented by generated message subtypes for boxing and unboxing arguments.
setArgumentValue(int, Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Copy
 
setArgumentValue(int, Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Exists
 
setArgumentValue(int, Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_File
 
setArgumentValue(int, Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Flush
 
setArgumentValue(int, Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Length
 
setArgumentValue(int, Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Read
 
setArgumentValue(int, Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Status
 
setCallStateListener(CallStateListener<?>) - Method in interface org.curjent.agent.AgentCall
Sets a default call state listener for this call.
setCallStateListener(CallState, CallStateListener<?>) - Method in interface org.curjent.agent.AgentCall
Sets a listener for the given call state.
setCallStateListener(CallStateListener<?>) - Method in interface org.curjent.agent.AgentConfig
Sets a default call state listener for this agent.
setCallStateListener(CallState, CallStateListener<?>) - Method in interface org.curjent.agent.AgentConfig
Sets a default call listener for the given state.
setCallStateListener(CallStateListener<Void>) - Method in interface org.curjent.agent.AgentMark
Sets a default call state listener for new calls.
setCallStateListener(CallState, CallStateListener<Void>) - Method in interface org.curjent.agent.AgentMark
Sets a listener for the given call state.
setCallStateListener(CallStateListener<?>) - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
setCallStateListener(CallState, CallStateListener<?>) - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
setCallStateListener(CallStateListener<?>) - Method in interface org.curjent.agent.CallSite
Sets a default call state listener for this agent's call site.
setCallStateListener(CallState, CallStateListener<?>) - Method in interface org.curjent.agent.CallSite
Sets a listener for the given call state.
setCallStateListener(CallStateListener<?>) - Method in class org.curjent.impl.agent.CallInfo
Sets the default listener for the given call site and updates its effective listeners.
setCallStateListener(CallState, CallStateListener<?>) - Method in class org.curjent.impl.agent.CallInfo
Sets a call site's listener for a given state and updates its effective listeners.
setCallStateListener(CallStateListener<?>) - Method in class org.curjent.impl.agent.Config
Sets the agent's default listener and updates the call sites' effective listeners.
setCallStateListener(CallState, CallStateListener<?>) - Method in class org.curjent.impl.agent.Config
Sets the default listener for a specific state and updates the call sites' effective listeners.
setCallStateListener(CallStateListener<?>) - Method in class org.curjent.impl.agent.Listeners
Sets the agent's default listener and updates the call sites' effective listeners.
setCallStateListener(CallState, CallStateListener<?>) - Method in class org.curjent.impl.agent.Listeners
Sets the default listener for a specific state and updates the call sites' effective listeners.
setCallStateListener(CallInfo, CallStateListener<?>) - Method in class org.curjent.impl.agent.Listeners
Sets the default listener for the given call site and updates its effective listeners.
setCallStateListener(CallInfo, CallState, CallStateListener<?>) - Method in class org.curjent.impl.agent.Listeners
Sets a call site's listener for a given state and updates its effective listeners.
setCallStateListener(CallStateListener<Void>) - Method in class org.curjent.impl.agent.MarkCall
Sets or clears the default call state listener.
setCallStateListener(CallState, CallStateListener<Void>) - Method in class org.curjent.impl.agent.MarkCall
Sets or clears a call state listener.
setCallStateListener(CallStateListener<?>) - Method in class org.curjent.impl.agent.MessageCall
Sets or clears the default listener for this call.
setCallStateListener(CallState, CallStateListener<?>) - Method in class org.curjent.impl.agent.MessageCall
Sets or clears the listener for a specified state change for this call.
setData(Object) - Method in interface org.curjent.agent.AgentCall
Sets the data associated with this call.
setData(Object) - Method in interface org.curjent.agent.AgentConfig
Associates data with this agent.
setData(Object) - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
setData(Object) - Method in interface org.curjent.agent.CallSite
Associates data with this agent's call site.
setData(Object) - Method in class org.curjent.impl.agent.CallInfo
Sets the caller's data associated with this call site.
setData(Object) - Method in class org.curjent.impl.agent.Config
Associates data with this agent.
setData(Object) - Method in class org.curjent.impl.agent.MessageCall
Saves or clears the client's data for this message.
setDeadcheckTimeout(long, TimeUnit) - Method in interface org.curjent.agent.AgentConfig
Sets the length of time synchronous calls wait before checking if the caller's thread has deadlocked.
setDeadcheckTimeout(long, TimeUnit) - Method in class org.curjent.impl.agent.Config
Sets the length of time synchronous calls wait before checking if the caller's thread has deadlocked.
setDeadcheckTimeout(long, TimeUnit) - Method in class org.curjent.impl.agent.Messages
Sets the amount of time a thread waits before it checks for deadlock.
setEffectiveListeners(CallStateListener<?>[], CallStateListener<?>, CallStateListener<?>[], CallStateListener<?>, CallStateListener<?>[]) - Static method in class org.curjent.impl.agent.Listeners
Sets a call site's effective listeners given the agent's assigned listeners for that site.
setEffectiveListeners(CallStateListener<?>[], CallStateListener<?>, CallStateListener<?>[]) - Static method in class org.curjent.impl.agent.MessageCall
Sets the effective listeners.
setException(Throwable) - Method in interface org.curjent.agent.AgentCall
Sets the execution exception.
setException(Throwable) - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
setException(Throwable) - Method in class org.curjent.impl.agent.Message
Sets or clears the exception thrown by the task's method.
setException(Throwable) - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.setException(Throwable).
setExecutor(Executor) - Method in interface org.curjent.agent.AgentConfig
Changes the agent's executor.
setExecutor(Executor) - Method in class org.curjent.impl.agent.Config
Changes the agent's executor.
setExecutor(Executor) - Method in class org.curjent.impl.agent.Messengers
Changes the executor.
setExpirationTimeout(long, TimeUnit) - Method in interface org.curjent.agent.AgentCall
Sets the expiration timeout for this call.
setExpirationTimeout(long, TimeUnit) - Method in interface org.curjent.agent.AgentConfig
Sets the default call expiration for call sites and calls not explicitly configured with expiration timeouts.
setExpirationTimeout(long, TimeUnit) - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
setExpirationTimeout(long, TimeUnit) - Method in interface org.curjent.agent.CallSite
Sets the default call expiration for calls of this site that are not individually configured with expiration timeouts.
setExpirationTimeout(long, TimeUnit) - Method in class org.curjent.impl.agent.CallInfo
Sets the call site's default expiration timeout.
setExpirationTimeout(long, TimeUnit) - Method in class org.curjent.impl.agent.Config
Sets the agent's default expiration.
setExpirationTimeout(long, TimeUnit) - Method in class org.curjent.impl.agent.Expirations
Sets the agent's default expiration time.
setExpirationTimeout(CallInfo, long, TimeUnit) - Method in class org.curjent.impl.agent.Expirations
Sets an agent call site's expiration time.
setExpirationTimeout(Message, long, TimeUnit) - Method in class org.curjent.impl.agent.Expirations
Sets an agent call's expiration time.
setExpirationTimeout(long, TimeUnit) - Method in class org.curjent.impl.agent.MessageCall
Delegates to Expirations.setExpirationTimeout(Message, long, TimeUnit).
setExpiredCall(AgentCall<?>) - Method in exception org.curjent.agent.CapacityExceededException
Set the call that was canceled.
setExpiredCall(AgentCall<?>) - Method in exception org.curjent.agent.ExpiredException
Set the call that expired.
setMarkerType(MarkerType) - Method in interface org.curjent.agent.AgentMark
Sets the call's marker type.
setMarkerType(MarkerType) - Method in class org.curjent.impl.agent.MarkCall
Sets or clears the marker type.
setPendingCapacity(int) - Method in interface org.curjent.agent.AgentConfig
Sets the maximum number of callers the agent can suspend while waiting for new messages to be accepted.
setPendingCapacity(int) - Method in class org.curjent.impl.agent.Config
Updates the current maximum for pending messages.
setPendingCapacity(int) - Method in class org.curjent.impl.agent.Messages
Updates the current maximum for pending messages.
setPendingTimeout(long, TimeUnit) - Method in interface org.curjent.agent.AgentConfig
Sets the length of time the caller will wait for the agent to accept a new message.
setPendingTimeout(long, TimeUnit) - Method in class org.curjent.impl.agent.Config
Updates the current maximum amount of time a caller waits for the agent to accept its call.
setPendingTimeout(long, TimeUnit) - Method in class org.curjent.impl.agent.Messages
Updates the current maximum amount of time a caller waits for the agent to accept its call.
setReentry() - Method in class org.curjent.impl.agent.Message
The call is being dispatched reentrantly.
setResult(V) - Method in interface org.curjent.agent.AgentCall
Sets the result value.
setResult(V) - Method in class org.curjent.agent.AgentResult
Throws UnsupportedOperationException.
setResult(Object) - Method in class org.curjent.impl.agent.Message
Saves and caches the boxed result.
setResult(Object) - Method in class org.curjent.impl.agent.MessageCall
Delegates to Message.setResult(Object).
setResultValue(Object) - Method in class org.curjent.impl.agent.Message
Implemented by generated message subtypes to unbox and save a result value.
setResultValue(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Count
 
setResultValue(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Exists
 
setResultValue(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_File
 
setResultValue(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Length
 
setResultValue(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Read
 
setResultValue(Object) - Method in class org.curjent.test.agent.asmify.CopyMessage_Status
 
setState(CallState, CallCompletion, Object, Throwable) - Method in class org.curjent.impl.agent.Message
Changes the state of the message and notifies the listener.
setTaskMethod(Method) - Method in class org.curjent.impl.agent.MethodInfo
Associates the interface method with the given task method.
setTaskResult(Method) - Method in class org.curjent.impl.agent.ResultInfo
Initializes the task method's return type fields (i.e., the fields of this class whose names begin with 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).
setTypeIndex(TypeInfo, int) - Method in class org.curjent.impl.agent.MethodInfo
Creates the name of the message class based on the interface method's unique index.
setUnhandledExceptionHandler(ExceptionHandler) - Method in interface org.curjent.agent.AgentConfig
Changes the agent's handler for unhandled exceptions.
setUnhandledExceptionHandler(ExceptionHandler) - Method in class org.curjent.impl.agent.Config
Changes the agent's handler for unhandled exceptions.
setUp() - Method in class org.curjent.test.agent.AgentTest
 
setUp(TestAgent) - Method in class org.curjent.test.agent.AgentTest
 
setUp(AgentTest.Context) - Method in class org.curjent.test.agent.AgentTest
 
setValue(Integer, Integer) - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
setValue(Integer, Integer) - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
signal() - Method in class org.curjent.impl.agent.ExpirationsTask
Notifies the background task that a message has finished.
SingletonTask - Class in org.curjent.agent
Source for one task.
SingletonTask(Object) - Constructor for class org.curjent.agent.SingletonTask
Singleton source for the given task.
SIPUSH - Static variable in interface org.curjent.impl.asm.Opcodes
 
sites - Variable in class org.curjent.impl.agent.Config
Map of interface method keys to call sites.
size - Variable in class org.curjent.impl.agent.ParamInfo
Argument stack size.
sleep(long) - Method in class org.curjent.test.agent.AgentTest
 
sleep(CountDownLatch) - Method in interface org.curjent.test.agent.InterruptTest.InterruptTestAgent
 
sleep(CountDownLatch) - Method in class org.curjent.test.agent.InterruptTest.InterruptTestTask
 
SOURCE_FILENAME_PATTERN - Static variable in class org.curjent.test.agent.asmify.GenerateAsm
Pattern for matching source file names to asmify.
srcAndRefPositions - Variable in class org.curjent.impl.asm.Label
Informations about forward references.
standard() - Method in interface org.curjent.impl.agent.SyntheticInterface
Standard, non-marker calls.
standard() - Method in class org.curjent.impl.agent.SyntheticTask
Standard, non-marker calls.
start(Messenger) - Method in class org.curjent.impl.agent.Controller
Initializes a newly started messenger.
start(Message) - Method in class org.curjent.impl.agent.Expirations
Checks if the message is configured for expiration.
start(Controller) - Method in class org.curjent.impl.agent.Messengers
Attempts to start a new messenger.
start - Variable in class org.curjent.impl.asm.Handler
Beginning of the exception handler's scope (inclusive).
startable(boolean) - Method in class org.curjent.impl.agent.Message
Returns true if this message is ready to be executed.
startable() - Method in class org.curjent.impl.agent.Messengers
Returns true if neither the tasks nor the executor is busy.
startClass(MethodInfo) - Method in class org.curjent.impl.agent.MessageFactory
Creates the ASM ClassWriter and starts bytecode generation, including definition of the message class's fields if any.
startClass() - Method in class org.curjent.impl.agent.ProxyFactory
Creates the ASM ClassWriter and starts generation of the proxy class.
started - Variable in class org.curjent.impl.agent.Message
Initially false and set to true by the controller when it pulls the message from the queue for dispatching.
started(Messenger) - Method in class org.curjent.impl.agent.Messengers
Clears the Messengers.pending flag.
starting(String) - Method in interface org.curjent.example.agent.ftpxfer.FTPTransfer
 
starting(String) - Method in class org.curjent.example.agent.ftpxfer.FTPTransferTask
 
state - Variable in class org.curjent.impl.agent.Message
Current state of the message.
Stats - Class in org.curjent.impl.agent
Snapshot of agent statistics.
Stats(Messages) - Constructor for class org.curjent.impl.agent.Stats
Assumes constructed within the agent's synchronized context.
stats - Variable in class org.curjent.test.agent.AgentTest
 
stats() - Method in class org.curjent.test.agent.AgentTest
 
status - Variable in class org.curjent.impl.asm.Label
Flags that indicate the status of this label.
status(String) - Method in interface org.curjent.test.agent.asmify.Copy
 
status(String) - Method in class org.curjent.test.agent.asmify.CopyProxy
 
status(String) - Method in class org.curjent.test.agent.asmify.CopyTask
 
STR - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_String constant pool items.
strVal1 - Variable in class org.curjent.impl.asm.Item
First part of the value of this item, for items that do not hold a primitive value.
strVal2 - Variable in class org.curjent.impl.asm.Item
Second part of the value of this item, for items that do not hold a primitive value.
strVal3 - Variable in class org.curjent.impl.asm.Item
Third part of the value of this item, for items that do not hold a primitive value.
suite() - Static method in class org.curjent.test.AllTests
 
SUPER_INIT_DESCRIPTOR - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM descriptor for the base Proxy constructor.
SUPER_MESSAGE_INTERNAL - Static variable in class org.curjent.impl.agent.MessageFactory
Internal JVM name for Message.
SUPER_PROXY_INTERNAL - Static variable in class org.curjent.impl.agent.ProxyFactory
Internal JVM name for Proxy.
superName - Variable in class org.curjent.impl.asm.ClassWriter
The constant pool item that contains the internal name of the super class of this class.
synched - Variable in class org.curjent.impl.agent.Deadlocks
Keeps track of which threads are waiting in a synchronous call (i.e., calls returning a value and therefore implicitly synchronous, as well as calls explicility annotated as Synchronous).
Synchronous - Annotation Type in org.curjent.agent
Specifies that a call should execute synchronously.
synchronous - Variable in class org.curjent.impl.agent.CallInfo
true if the call is implicitly or explicitly synchronous.
synchronous - Variable in class org.curjent.impl.agent.MethodInfo
true if the agent call is synchronous.
synchronousException(Throwable) - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
synchronousException(Throwable) - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
synthetic - Variable in class org.curjent.impl.agent.CallInfo
true if this is a non-standard call.
synthetic - Variable in class org.curjent.impl.agent.Controller
Map of synthetic interface methods to synthetic call sites.
synthetic - Variable in class org.curjent.impl.agent.Message
Non-standard synthesized call.
synthetic - Variable in class org.curjent.impl.agent.Queue
Synthetic message count.
SyntheticInterface - Interface in org.curjent.impl.agent
Interface for synthetic interface methods.
SyntheticMessage - Class in org.curjent.impl.agent
Message implementation for synthetic calls.
SyntheticMessage(CallInfo) - Constructor for class org.curjent.impl.agent.SyntheticMessage
Saves the message's metadata.
SyntheticTask - Class in org.curjent.impl.agent
Class for synthetic task methods.
SyntheticTask() - Constructor for class org.curjent.impl.agent.SyntheticTask
 

T

TARGET - Static variable in class org.curjent.impl.asm.Label
Indicates if this label is the target of a jump instruction, or the start of an exception handler.
task - Variable in class org.curjent.agent.ReusableTask
Single task used by multiple threads of execution.
task - Variable in class org.curjent.agent.SingletonTask
Non-null if available or null if acquired.
task - Variable in class org.curjent.impl.agent.Expirations
Manages background processing of timers.
task - Variable in class org.curjent.impl.agent.Messenger
The acquired AgentTasks instance that performs the call.
TASK_COUNT - Static variable in class org.curjent.test.agent.MultiTaskTest
 
taskCache - Variable in class org.curjent.agent.DynamicTasks
Cache of tasks.
taskDescriptor - Variable in class org.curjent.impl.agent.MethodInfo
JVM descriptor for the task's method.
taskFuture - Variable in class org.curjent.impl.agent.ResultInfo
true if the task method's return type is a subclass of Future.
taskInternal - Variable in class org.curjent.impl.agent.TypeInfo
Internal JVM name for the task type.
taskMethod - Variable in class org.curjent.impl.agent.CallInfo
The task's method for this call site.
taskMethod - Variable in class org.curjent.impl.agent.MethodInfo
Associated task method.
taskMethod - Variable in class org.curjent.impl.agent.ResultInfo
The task's method.
taskName - Variable in class org.curjent.impl.agent.ProxyFactory
Name of the task type.
taskName - Variable in class org.curjent.impl.agent.TypeInfo
Task type's name.
taskResult - Variable in class org.curjent.impl.agent.ResultInfo
true if the task method's return type is not void.
tasks - Variable in class org.curjent.impl.agent.Messengers
Source for agent tasks.
tasks - Variable in class org.curjent.impl.agent.ProxyFactory
Source of tasks for the agent.
taskSize - Variable in class org.curjent.impl.agent.ResultInfo
Stack size of the return value.
taskSynchronous - Variable in class org.curjent.impl.agent.ResultInfo
true if the task method is annotated as Synchronous.
taskType - Variable in class org.curjent.impl.agent.Config
Task class used to create this agent.
taskType - Variable in class org.curjent.impl.agent.ProxyFactory
Agent's task type.
taskType - Variable in class org.curjent.impl.agent.ResultInfo
Task method's return type.
taskType - Variable in class org.curjent.impl.agent.TypeInfo
Task's class.
tearDown() - Method in class org.curjent.test.agent.AgentTest
 
tearDown(AgentTest.Context) - Method in class org.curjent.test.agent.AgentTest
 
test1(CountDownLatch) - Method in interface org.curjent.test.agent.ExpirationTest.ExpirationTestAgent
 
test1(CountDownLatch) - Method in interface org.curjent.test.agent.ExpirationTest.ExpirationTestAgent2
 
test1(CountDownLatch) - Method in class org.curjent.test.agent.ExpirationTest.ExpirationTestTask
 
test1(CountDownLatch) - Method in class org.curjent.test.agent.ExpirationTest.ExpirationTestTask2
 
test2() - Method in interface org.curjent.test.agent.ExpirationTest.ExpirationTestAgent
 
test2() - Method in class org.curjent.test.agent.ExpirationTest.ExpirationTestTask
 
TestAgent - Interface in org.curjent.test.agent
Base interface for test agents.
testAgentResult() - Method in class org.curjent.test.agent.AgentCallTest
 
testAnnotation() - Method in class org.curjent.test.agent.CapacityTest
 
testAnnotations() - Method in class org.curjent.test.agent.CallSiteTest
 
testAwait() - Method in class org.curjent.test.agent.AgentAwaitTest
 
testAwait() - Method in class org.curjent.test.agent.ListenerTest
 
testAwaitParams() - Method in class org.curjent.test.agent.AgentAwaitTest
 
testAwaitParams() - Method in class org.curjent.test.agent.InsiderTest
 
testAwaitTimeout() - Method in class org.curjent.test.agent.AgentCallTest
 
testBoxedFutures() - Method in class org.curjent.test.agent.FutureTest
 
testCall() - Method in class org.curjent.test.agent.AgentCallTest
 
testCallSite() - Method in class org.curjent.test.agent.AgentCallTest
 
testCancelBeforeStart() - Method in class org.curjent.test.agent.FutureTest
 
testCancelWithInterrupt() - Method in class org.curjent.test.agent.FutureTest
 
testChangeKey() - Method in class org.curjent.test.agent.ConfigLockTest
 
testClearKey() - Method in class org.curjent.test.agent.ConfigLockTest
 
testConcurrentAccess() - Method in class org.curjent.test.agent.ProxyTest
 
testConfig() - Method in class org.curjent.test.agent.CapacityTest
 
testConfigParams() - Method in class org.curjent.test.agent.InsiderTest
 
testControllerDeadcheck() - Method in class org.curjent.test.agent.DeadlockTest
Tests the scenario outlined in the javadoc comments for the controller's private deadcheck() method.
testControllerDeadcheck(boolean) - Method in class org.curjent.test.agent.DeadlockTest
 
testCount(Runnable) - Method in interface org.curjent.test.agent.ReentrantTest.ReentrantTestAgent
 
testCount(Runnable) - Method in class org.curjent.test.agent.ReentrantTest.ReentrantTestTask
 
testData() - Method in class org.curjent.test.agent.AgentCallTest
 
testData() - Method in class org.curjent.test.agent.CallSiteTest
 
testDataConfig() - Method in class org.curjent.test.agent.ConfigTest
 
testDeadlock() - Method in class org.curjent.test.agent.AgentAwaitTest
 
testDeadlockConfig() - Method in class org.curjent.test.agent.ConfigTest
 
testDeadlocksScenario() - Method in class org.curjent.test.agent.DeadlockTest
Tests the scenario described in the javadoc comments for the DeadLocks class.
TestException - Exception in org.curjent.test.agent
Easily and uniquely identifiable exception type.
TestException() - Constructor for exception org.curjent.test.agent.TestException
 
TestException(String) - Constructor for exception org.curjent.test.agent.TestException
 
TestException(Throwable) - Constructor for exception org.curjent.test.agent.TestException
 
TestException(String, Throwable) - Constructor for exception org.curjent.test.agent.TestException
 
testExceptionHandlerConfig() - Method in class org.curjent.test.agent.ConfigTest
 
testExecutorConfig() - Method in class org.curjent.test.agent.ConfigTest
 
testExpiration() - Method in class org.curjent.test.agent.ExpirationTest
 
testExpirationConfig() - Method in class org.curjent.test.agent.ExpirationTest
 
testExpirationConfig2() - Method in class org.curjent.test.agent.ExpirationTest
 
testExpireExecuting() - Method in class org.curjent.test.agent.ExpirationTest
 
testExpireImmediately() - Method in class org.curjent.test.agent.ExpirationTest
 
testFinish() - Method in class org.curjent.test.agent.AgentCallTest
 
testFinishBadResult() - Method in class org.curjent.test.agent.AgentCallTest
 
testFinishException() - Method in class org.curjent.test.agent.AgentCallTest
 
testFinishException() - Method in class org.curjent.test.agent.ListenerTest
 
testFinishInterrupt() - Method in class org.curjent.test.agent.AgentCallTest
 
testFinishResult() - Method in class org.curjent.test.agent.ListenerTest
 
testFinishSimple() - Method in class org.curjent.test.agent.AgentCallTest
 
testFinishSimpleException() - Method in class org.curjent.test.agent.AgentCallTest
 
testFinishSimpleResult() - Method in class org.curjent.test.agent.AgentCallTest
 
testFutureCancellation() - Method in class org.curjent.test.agent.FutureTest
 
testFutureException() - Method in class org.curjent.test.agent.FutureTest
 
testFutureGet() - Method in class org.curjent.test.agent.FutureTest
 
testFutureInterrupt() - Method in class org.curjent.test.agent.FutureTest
 
testFutureTimeout(long, TimeUnit) - Method in class org.curjent.test.agent.FutureTest
 
testFutureTimeout0() - Method in class org.curjent.test.agent.FutureTest
 
testFutureTimeout100() - Method in class org.curjent.test.agent.FutureTest
 
testGetStatsParams() - Method in class org.curjent.test.agent.InsiderTest
 
testIndirectDeadlock() - Method in class org.curjent.test.agent.DeadlockTest
 
testIndirectDeadlock(long) - Method in class org.curjent.test.agent.DeadlockTest
 
testInterrupt() - Method in class org.curjent.test.agent.InterruptTest
 
testInterrupted() - Method in class org.curjent.test.agent.AgentAwaitTest
 
testIsolated() - Method in class org.curjent.test.agent.AgentMarkTest
 
testIsolated() - Method in class org.curjent.test.agent.MultiTaskTest
 
testLeading() - Method in class org.curjent.test.agent.AgentMarkTest
 
testLeading() - Method in class org.curjent.test.agent.MultiTaskTest
 
testListener() - Method in class org.curjent.test.agent.AgentCallTest
 
testListenerConfig() - Method in class org.curjent.test.agent.ConfigTest
 
testListenerException() - Method in class org.curjent.test.agent.ListenerTest
 
testListenerFinished() - Method in class org.curjent.test.agent.AgentCallTest
 
testLocked(Object, Object) - Method in class org.curjent.test.agent.ConfigLockTest
 
testMark() - Method in class org.curjent.test.agent.AgentMarkTest
 
testMarker() - Method in class org.curjent.test.agent.MultiTaskTest
 
testMethods() - Method in class org.curjent.test.agent.CallSiteTest
 
testMultipleAwaits() - Method in class org.curjent.test.agent.AgentAwaitTest
 
testMultipleThreads() - Method in class org.curjent.test.agent.MultiTaskTest
 
testNewInstanceParams() - Method in class org.curjent.test.agent.ConfigTest
 
testNewInstanceParams() - Method in class org.curjent.test.agent.InsiderTest
 
testNonReentrant() - Method in class org.curjent.test.agent.ReentrantTest
 
testNotLocked() - Method in class org.curjent.test.agent.ConfigLockTest
 
testNotLocked(Object, Object) - Method in class org.curjent.test.agent.ConfigLockTest
 
testNullKey() - Method in class org.curjent.test.agent.ConfigLockTest
 
testParallelAwaits() - Method in class org.curjent.test.agent.AgentAwaitTest
 
testParams(boolean, char, byte, short, int, long, float, double, Object, int[], Boolean) - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
testParams(boolean, char, byte, short, int, long, float, double, Object, int[], Boolean) - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
testParamTypes() - Method in class org.curjent.test.agent.ProxyTest
 
testPending() - Method in class org.curjent.test.agent.CapacityTest
 
testPendingLimit(int) - Method in class org.curjent.test.agent.CapacityTest
 
testPendingLimit0() - Method in class org.curjent.test.agent.CapacityTest
 
testPendingLimit1() - Method in class org.curjent.test.agent.CapacityTest
 
testPendingLimit2() - Method in class org.curjent.test.agent.CapacityTest
 
testPendingTimeout() - Method in class org.curjent.test.agent.CapacityTest
 
testReentrant() - Method in class org.curjent.test.agent.ReentrantTest
 
testReentry() - Method in class org.curjent.test.agent.ListenerTest
 
testReturnTypes() - Method in class org.curjent.test.agent.ProxyTest
 
testRun() - Method in class org.curjent.test.agent.AgentCallTest
 
testSetArgument() - Method in class org.curjent.test.agent.AgentCallTest
 
testSetKey() - Method in class org.curjent.test.agent.ConfigLockTest
 
testSetResult() - Method in class org.curjent.test.agent.AgentCallTest
 
testSimpleDeadlock() - Method in class org.curjent.test.agent.DeadlockTest
 
testSimpleDeadlock(long) - Method in class org.curjent.test.agent.DeadlockTest
 
testSoftCancel() - Method in class org.curjent.test.agent.FutureTest
 
testStandard() - Method in class org.curjent.test.agent.AgentMarkTest
 
testState() - Method in class org.curjent.test.agent.ListenerTest
 
testSynchronous() - Method in class org.curjent.test.agent.ProxyTest
 
testSynchronousException() - Method in class org.curjent.test.agent.ProxyTest
 
testSynchronousException(Throwable) - Method in class org.curjent.test.agent.ProxyTest
 
testSynchronousFuture() - Method in class org.curjent.test.agent.FutureTest
 
TestTask - Class in org.curjent.test.agent
Base class for test agent tasks.
TestTask() - Constructor for class org.curjent.test.agent.TestTask
 
testThisCall() - Method in class org.curjent.test.agent.AgentCallTest
 
testTimeout() - Method in class org.curjent.test.agent.AgentAwaitTest
 
testUnhandledExceptions() - Method in class org.curjent.test.agent.ProxyTest
 
testUniqueness() - Method in class org.curjent.test.agent.CallSiteTest
 
testValue(Runnable) - Method in interface org.curjent.test.agent.ReentrantTest.ReentrantTestAgent
 
testValue(Runnable) - Method in class org.curjent.test.agent.ReentrantTest.ReentrantTestTask
 
testVoidCall() - Method in class org.curjent.test.agent.FutureTest
 
thread - Variable in class org.curjent.impl.agent.Message
The background thread executing the call to the task's method.
thread - Variable in class org.curjent.impl.agent.Messenger
Current thread running this messenger.
threads - Variable in class org.curjent.impl.agent.Messengers
The set of threads running messengers.
threads() - Method in class org.curjent.impl.agent.Messengers
Returns the set of threads running messengers or null if none.
threshold - Variable in class org.curjent.impl.asm.ClassWriter
The threshold of the constant pool's hash table.
timeout - Variable in class org.curjent.impl.agent.Expirations
Agent's default expiration timeout.
timeout() - Method in class org.curjent.impl.agent.ExpirationsTimer
Computes the timeout value in nanoseconds for this timer's expiration time.
TIMEOUT_DEFAULT - Static variable in class org.curjent.test.agent.CapacityTest
 
timer - Variable in class org.curjent.impl.agent.Message
Expiration state for calls with an expiration timeout.
timers - Variable in class org.curjent.impl.agent.ExpirationsTask
Enqueued timers from ExpirationsTask.feed are copied to this buffer while the controller is locked so that they can be processed outside of the lock.
TIMEUNIT_DEFAULT - Static variable in class org.curjent.test.agent.CapacityTest
 
toByteArray() - Method in class org.curjent.impl.asm.ClassWriter
Returns the bytecode of the class that was build with this class writer.
toString() - Method in class org.curjent.impl.agent.CallInfo
Returns a description of this call site's interface method.
toString() - Method in class org.curjent.impl.agent.CallKey
Description of this key's method.
toString() - Method in class org.curjent.impl.agent.Config
Returns the list of interfaces.
toString() - Method in class org.curjent.impl.agent.Controller
Delegates to Config.toString().
toString() - Method in class org.curjent.impl.agent.Message
Returns a description of the interface's method that corresponds to this message.
toString() - Method in class org.curjent.impl.agent.MessageFuture
Returns the message's interface method signature.
toString() - Method in class org.curjent.impl.agent.Messages
Returns the number of pending, accepted, and exeucting messages.
toString() - Method in class org.curjent.impl.agent.Messenger
Returns a summary of the message that's executing if any.
toString() - Method in class org.curjent.impl.agent.Messengers
Returns the number of executing threads.
toString() - Method in class org.curjent.impl.agent.Proxy
Returns the list of implemented interfaces.
toString() - Method in class org.curjent.impl.agent.Queue
Returns the current message count.
toString() - Method in class org.curjent.impl.agent.Stats
 
toString() - Method in class org.curjent.impl.asm.Label
Returns a string representation of this label.
trailing() - Method in interface org.curjent.impl.agent.SyntheticInterface
Trailing marker calls.
trailing() - Method in class org.curjent.impl.agent.SyntheticTask
Trailing marker calls.
transfer(String) - Method in interface org.curjent.example.agent.ftpxfer.FTPTransfer
 
transfer(String) - Method in class org.curjent.example.agent.ftpxfer.FTPTransferTask
 
type - Variable in class org.curjent.impl.agent.ParamInfo
Parameter type.
type - Variable in class org.curjent.impl.asm.Handler
Constant pool index of the internal name of the type of exceptions handled by this handler, or 0 to catch any exceptions.
type - Variable in class org.curjent.impl.asm.Item
Type of this constant pool item.
Type - Class in org.curjent.impl.asm
A Java type.
Type() - Constructor for class org.curjent.impl.asm.Type
 
TYPE_MERGED - Static variable in class org.curjent.impl.asm.ClassWriter
Merged type Item stored in the ClassWriter { @link ClassWriter#typeTable}, instead of the constant pool, in order to avoid clashes with normal constant pool items in the ClassWriter constant pool's hash table.
TYPE_NORMAL - Static variable in class org.curjent.impl.asm.ClassWriter
Normal type Item stored in the ClassWriter { @link ClassWriter#typeTable}, instead of the constant pool, in order to avoid clashes with normal constant pool items in the ClassWriter constant pool's hash table.
TYPE_UNINIT - Static variable in class org.curjent.impl.asm.ClassWriter
Uninitialized type Item stored in the ClassWriter { @link ClassWriter#typeTable}, instead of the constant pool, in order to avoid clashes with normal constant pool items in the ClassWriter constant pool's hash table.
typeCall - Variable in class org.curjent.impl.agent.ResultInfo
true if the interface method's return type is AgentCall.
typeDescriptor - Variable in class org.curjent.impl.agent.MethodInfo
JVM descriptor for the interface's method.
typeExceptionCanonicals - Variable in class org.curjent.impl.agent.MethodInfo
Exception blocks are generated only for canonical checked exceptions.
typeExceptionInternals - Variable in class org.curjent.impl.agent.MethodInfo
Internal JVM names for the interface's declared exceptions.
typeExceptions - Variable in class org.curjent.impl.agent.MethodInfo
Interface method's declared exceptions.
typeFuture - Variable in class org.curjent.impl.agent.ResultInfo
true if the interface method's return type is Future or AgentCall.
typeInfo - Variable in class org.curjent.impl.agent.MessageFactory
Interface and task information for generating classes.
typeInfo - Variable in class org.curjent.impl.agent.ProxyFactory
Information for bytecode generation.
TypeInfo - Class in org.curjent.impl.agent
Information for bytecode generation of an agent's proxy and message classes.
TypeInfo(Class<?>[], Class<?>) - Constructor for class org.curjent.impl.agent.TypeInfo
Evaluates and saves the information needed to generate the agent's proxy and message classes.
typeInternal - Variable in class org.curjent.impl.agent.BoxedInfo
Internal JVM name for the boxed type, such as "java/lang/Boolean" for the java.lang.Boolean class.
typeMethod - Variable in class org.curjent.impl.agent.MethodInfo
Interface's method.
typeMethod - Variable in class org.curjent.impl.agent.ResultInfo
The interface's method.
typeType - Variable in class org.curjent.impl.agent.ResultInfo
Interface method's return type.
typeVoid - Variable in class org.curjent.impl.agent.ResultInfo
true if the interface method's return type is void.

U

unblocked(Awaiter) - Method in class org.curjent.impl.agent.Controller
Notification that an awaiter is no longer waiting.
unblocked() - Method in class org.curjent.impl.agent.Deadlocks
Notification from an awaiter that it is no longer blocked.
unboxingDescriptor - Variable in class org.curjent.impl.agent.BoxedInfo
The JVM method descriptor for unboxing a primitive, such as "()Z" for Boolean.booleanValue().
unboxingName - Variable in class org.curjent.impl.agent.BoxedInfo
The method name for unboxing a primitive, such as booleanValue for Boolean.booleanValue().
UNHANDLED_EXCEPTION_HANDLER - Static variable in class org.curjent.example.agent.factory.Agents
 
unhandledException() - Method in interface org.curjent.test.agent.ProxyTest.ProxyTestAgent
 
unhandledException() - Method in class org.curjent.test.agent.ProxyTest.ProxyTestTask
 
unit - Variable in class org.curjent.impl.agent.Expirations
Agent default expiration timeout unit.
unlock() - Method in interface org.curjent.impl.agent.Awaiter
Optionally releases the controller's lock.
unlock() - Method in class org.curjent.impl.agent.Message
Empty placeholder that does nothing.
update(Thread, Thread[], ArrayList<Thread>, HashMap<Thread, HashSet<Thread>>, HashMap<Thread, HashSet<Thread>>) - Method in class org.curjent.impl.agent.Deadlocks
Updates the deadlock evaluation state given a blocked thread and the threads blocking it.
updateCallStateListeners() - Method in class org.curjent.impl.agent.Listeners
Updates the effective listeners for all call sites based on the assigned listeners for the agent and its call sites.
updateKey(Object, Object) - Method in class org.curjent.impl.agent.Config
Attempts to update the configuration key.
UTF8 - Static variable in class org.curjent.impl.asm.ClassWriter
The type of CONSTANT_Utf8 constant pool items.
Util - Class in org.curjent.impl.agent
Collection of utility methods.
Util() - Constructor for class org.curjent.impl.agent.Util
Static methods only.

V

V1_5 - Static variable in interface org.curjent.impl.asm.Opcodes
 
validate(AtomicInteger[], int, int, int, int) - Static method in class org.curjent.test.agent.ConfigTest
 
validateArguments() - Method in class org.curjent.impl.agent.ProxyFactory
Validates the arguments to Agent.newInstance().
value - Variable in class org.curjent.agent.AgentResult
The result's value.
value - Variable in class org.curjent.impl.agent.Count
Marker count value.
value() - Method in interface org.curjent.test.agent.DeadlockTest.DeadlockTestAgent
 
value() - Method in class org.curjent.test.agent.DeadlockTest.DeadlockTestTask
 
value - Variable in class org.curjent.test.agent.FutureTest.FutureTestTask
 
valueOf(String) - Static method in enum org.curjent.agent.CallCompletion
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.curjent.agent.CallState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.curjent.agent.MarkerType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.curjent.agent.CallCompletion
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.curjent.agent.CallState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.curjent.agent.MarkerType
Returns an array containing the constants of this enum type, in the order they are declared.
verifier - Variable in class org.curjent.example.agent.filecopy.FileVerifyListener
 
verify(String, String) - Method in interface org.curjent.example.agent.filecopy.FileVerify
 
verify(String, String) - Method in class org.curjent.example.agent.filecopy.FileVerifyTask
 
version - Variable in class org.curjent.impl.asm.ClassWriter
Minor and major version numbers of the class to be generated.
visit(int, int, String, String, String, String[]) - Method in class org.curjent.impl.asm.ClassWriter
 
visitCode() - Method in class org.curjent.impl.asm.MethodWriter
 
visitEnd() - Method in class org.curjent.impl.asm.ClassWriter
 
visitEnd() - Method in class org.curjent.impl.asm.FieldWriter
 
visitEnd() - Method in class org.curjent.impl.asm.MethodWriter
 
visitField(int, String, String, String, Object) - Method in class org.curjent.impl.asm.ClassWriter
 
visitFieldInsn(int, String, String, String) - Method in class org.curjent.impl.asm.MethodWriter
 
visitGetBoxedField(MethodInfo, MethodWriter, ParamInfo) - Static method in class org.curjent.impl.agent.MessageFactory
Generates code for getting a field and boxing it as needed.
visitInsn(int) - Method in class org.curjent.impl.asm.MethodWriter
 
visitIntConstInsn(int) - Method in class org.curjent.impl.asm.MethodWriter
Pushes an integer constant.
visitIntInsn(int, int) - Method in class org.curjent.impl.asm.MethodWriter
 
visitJumpInsn(int, Label) - Method in class org.curjent.impl.asm.MethodWriter
 
visitLabel(Label) - Method in class org.curjent.impl.asm.MethodWriter
 
visitLdcInsn(Object) - Method in class org.curjent.impl.asm.MethodWriter
 
visitMaxs(int, int) - Method in class org.curjent.impl.asm.MethodWriter
 
visitMethod(int, String, String, String, String[]) - Method in class org.curjent.impl.asm.ClassWriter
 
visitMethodInsn(int, String, String, String) - Method in class org.curjent.impl.asm.MethodWriter
 
visitReturnInsn(Class<?>) - Method in class org.curjent.impl.asm.MethodWriter
Calls MethodWriter.visitInsn(int) with the JVM opcode for returning a value based on its type.
visitSetBoxedField(MethodInfo, MethodWriter, ParamInfo) - Static method in class org.curjent.impl.agent.MessageFactory
Generates code for getting a field and boxing it as needed.
visitTryCatchBlock(Label, Label, Label, String) - Method in class org.curjent.impl.asm.MethodWriter
 
visitTypeInsn(int, String) - Method in class org.curjent.impl.asm.MethodWriter
 
visitVarInsn(int, int) - Method in class org.curjent.impl.asm.MethodWriter
 
visitVarLoadInsn(Class<?>, int) - Method in class org.curjent.impl.asm.MethodWriter
Calls MethodWriter.visitVarInsn(int, int) with the JVM opcode for loading a value based on its type.
voidCall() - Method in interface org.curjent.test.agent.FutureTest.FutureTestAgent
 
voidCall() - Method in class org.curjent.test.agent.FutureTest.FutureTestTask
 

W

World - Interface in org.curjent.example.agent.helloworld
A second version of HelloWorld.
WorldFactory - Interface in org.curjent.example.agent.helloworld
Hello world factory.
WorldTask - Class in org.curjent.example.agent.helloworld
Hello world task.
WorldTask() - Constructor for class org.curjent.example.agent.helloworld.WorldTask
 
WorldTest - Class in org.curjent.example.agent.helloworld
Hello world test driver.
WorldTest() - Constructor for class org.curjent.example.agent.helloworld.WorldTest
 
write(File, List<String>) - Method in class org.curjent.test.agent.asmify.GenerateAsm
Writes the Asm file.

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

Copyright 2009-2011 Tom Landon
Apache License 2.0