A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractEvent - Class in software.amazon.disco.agent.event
-
All Events inherit from this base class.
- AbstractEvent(String) - Constructor for class software.amazon.disco.agent.event.AbstractEvent
-
Construct a new AbstractEvent
- AbstractNetworkProtocolRequestEvent - Class in software.amazon.disco.agent.event
-
An abstract event that defines network-based request occurrences.
- AbstractNetworkProtocolRequestEvent(String, int, int, String, String) - Constructor for class software.amazon.disco.agent.event.AbstractNetworkProtocolRequestEvent
- AbstractNetworkProtocolResponseEvent - Class in software.amazon.disco.agent.event
-
An abstract event that defines network-based response occurrences.
- AbstractNetworkProtocolResponseEvent(String, NetworkProtocolRequestEvent) - Constructor for class software.amazon.disco.agent.event.AbstractNetworkProtocolResponseEvent
- AbstractProtocolEvent - Class in software.amazon.disco.agent.event
-
Base class for protocol events; These events here typically occur around service events and provide the mechanisms that make them work.
- AbstractProtocolEvent(String) - Constructor for class software.amazon.disco.agent.event.AbstractProtocolEvent
- AbstractProtocolRequestEvent - Class in software.amazon.disco.agent.event
-
This event stores information about the invoker of the protocol event.
- AbstractProtocolRequestEvent(String, String, String) - Constructor for class software.amazon.disco.agent.event.AbstractProtocolRequestEvent
- AbstractProtocolResponseEvent - Class in software.amazon.disco.agent.event
-
This event stores information about the resultant outcome of the requested invocation.
- AbstractProtocolResponseEvent(String, ProtocolRequestEvent) - Constructor for class software.amazon.disco.agent.event.AbstractProtocolResponseEvent
- AbstractServiceCancellationEvent - Class in software.amazon.disco.agent.event
-
An event issued to the event bus when service request is cancelled
- AbstractServiceCancellationEvent(String, String, String, ServiceRequestEvent) - Constructor for class software.amazon.disco.agent.event.AbstractServiceCancellationEvent
-
Constructor for a AbstractServiceCancellationEvent
- AbstractServiceEvent - Class in software.amazon.disco.agent.event
-
Base class for service events both Activities (my service is handling a request) and Downstream (I am calling another Service) A 'Service' in the downstream sense may not necessarily be a remote endpoint in the sense of a REST service etc.
- AbstractServiceEvent(String, String, String) - Constructor for class software.amazon.disco.agent.event.AbstractServiceEvent
-
Constructor for a ServiceEvent
- AbstractServiceRequestEvent - Class in software.amazon.disco.agent.event
-
Base class for service requests, whether from an activity or a downstream
- AbstractServiceRequestEvent(String, String, String) - Constructor for class software.amazon.disco.agent.event.AbstractServiceRequestEvent
-
Create a new AbstractServiceRequestEvent
- AbstractServiceResponseEvent - Class in software.amazon.disco.agent.event
-
Base class for service responses, whether from an activity or a downstream
- AbstractServiceResponseEvent(String, String, String, ServiceRequestEvent) - Constructor for class software.amazon.disco.agent.event.AbstractServiceResponseEvent
-
Construct a new AbstractServiceResponseEvent
- AbstractThreadEvent - Class in software.amazon.disco.agent.event
-
Abstract Event to encapsulate information when execution crosses a thread boundary, within an DiSCo transaction
- AbstractThreadEvent(String, Long, Long) - Constructor for class software.amazon.disco.agent.event.AbstractThreadEvent
-
Create a new ThreadEvent
- AbstractTransactionEvent - Class in software.amazon.disco.agent.event
-
A class of event to encapsulate the begin or end of a logical Transaction.
- AbstractTransactionEvent(String) - Constructor for class software.amazon.disco.agent.event.AbstractTransactionEvent
-
Create a new TransactionEvent
- ACTIVITY - software.amazon.disco.agent.event.ServiceEvent.Type
-
If the event is 'my service is handling a request'
- addListener(Listener) - Static method in class software.amazon.disco.agent.reflect.event.EventBus
-
Add a listener to the EventBus
B
- BEGIN - software.amazon.disco.agent.event.TransactionEvent.Operation
-
When the transaction logically begins
C
- call(Object...) - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Invoke the given method with the given args.
- CancellationEvent - Interface in software.amazon.disco.agent.event
-
An event issued to the event bus when request is cancelled
- clear() - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Clear the DiSCo TransactionContext to revert to its default value, or a no-op if Agent not loaded
- create() - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Create a default UUID transaction ID
- createLogger(Class) - Method in interface software.amazon.disco.agent.logging.LoggerFactory
-
It's typical for logging to be prefixed with the Class name which originated the log.
- createLogger(String) - Method in interface software.amazon.disco.agent.logging.LoggerFactory
-
Creates the named Logger.
- createLogger(String) - Method in class software.amazon.disco.agent.reflect.logging.StandardOutputLoggerFactory
-
Creates the named Logger.
D
- data - Variable in class software.amazon.disco.agent.event.AbstractEvent
- debug(String) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given message at the DEBUG level of severity.
- debug(String) - Static method in class software.amazon.disco.agent.reflect.logging.Logger
-
Log a debug message
- debug(String, Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable object with the given Message at the DEBUG level of severity.
- debug(Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable at the DEBUG level of severity.
- DEBUG - software.amazon.disco.agent.logging.Logger.Level
-
A very low and rarely useful form of Logging.
- destroy() - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Destroys the Transaction Context for this thread.
- dispatchException(Throwable, Object...) - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Tries to dispatch an exception to the installed UncaughtExceptionHandler.
- DOWNSTREAM - software.amazon.disco.agent.event.ServiceEvent.Type
-
If the event is 'I am making a request of a dependency'
E
- END - software.amazon.disco.agent.event.TransactionEvent.Operation
-
When the transaction logically ends
- ENTERING - software.amazon.disco.agent.event.ThreadEvent.Operation
-
This operation is published when a new worker thread is first entered
- error(String) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given message at the ERROR level of severity.
- error(String) - Static method in class software.amazon.disco.agent.reflect.logging.Logger
-
Log an error message
- error(String, Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable object with the given Message at the ERROR level of severity.
- error(Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable at the ERROR level of severity.
- ERROR - software.amazon.disco.agent.logging.Logger.Level
-
An error is an indication that DiSCo has detected a serious problem, and was unable to proceed as requested.
- Event - Interface in software.amazon.disco.agent.event
-
An Event published to the DiSCo event bus
- EventBus - Class in software.amazon.disco.agent.reflect.event
- EventBus() - Constructor for class software.amazon.disco.agent.reflect.event.EventBus
- EXITING - software.amazon.disco.agent.event.ThreadEvent.Operation
-
This operation is published when a worker thread has finished working, right before the Runnable/Callable/etc completes
F
- fatal(String) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given message at the FATAL level of severity.
- fatal(String, Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable object with the given Message at the FATAL level of severity.
- fatal(Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable at the FATAL level of severity.
- FATAL - software.amazon.disco.agent.logging.Logger.Level
-
A fatal error is the most serious kind of log.
G
- get() - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Get the DiSCo Transaction ID, or null if the agent is not loaded
- getArgTypes() - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Get the array of argument types specified in this ReflectiveCall
- getChildId() - Method in class software.amazon.disco.agent.event.AbstractThreadEvent
-
Get the child threadId
- getChildId() - Method in interface software.amazon.disco.agent.event.ThreadEvent
-
Get the child threadId
- getClassName() - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Get the class name specified in this ReflectiveCall
- getContentLength() - Method in class software.amazon.disco.agent.event.HttpServiceDownstreamResponseEvent
-
Get the content length stored in the Event
- getData(String) - Method in class software.amazon.disco.agent.event.AbstractEvent
-
Retrieve a data value from this event, given a named key
- getData(String) - Method in interface software.amazon.disco.agent.event.Event
-
Retrieve a data value from this event, given a named key
- getDate() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolRequestEvent
-
Common HTTP metadata: return the date entry from the header.
- getDate() - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Common HTTP metadata: return the date entry from the header.
- getDestinationAddress() - Method in class software.amazon.disco.agent.event.AbstractProtocolRequestEvent
-
Get the destination address; i.e.
- getDestinationAddress() - Method in interface software.amazon.disco.agent.event.ProtocolRequestEvent
-
Get the destination address; i.e.
- getDestinationIP() - Method in class software.amazon.disco.agent.event.AbstractNetworkProtocolRequestEvent
-
Get the destination IP address.
- getDestinationIP() - Method in interface software.amazon.disco.agent.event.NetworkProtocolRequestEvent
-
Get the destination IP address.
- getDestinationPort() - Method in class software.amazon.disco.agent.event.AbstractNetworkProtocolRequestEvent
-
Get the socket-level destination port; the port that the receiving end is using to retrieve data;.
- getDestinationPort() - Method in interface software.amazon.disco.agent.event.NetworkProtocolRequestEvent
-
Get the socket-level destination port; the port that the receiving end is using to retrieve data;.
- getHeaderData(String) - Method in class software.amazon.disco.agent.event.AbstractProtocolEvent
-
Get the value of header information tied to this event.
- getHeaderData(String) - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Get the value of header information tied to this event.
- getHeaderData(String) - Method in interface software.amazon.disco.agent.event.ProtocolEvent
-
Get the value of header information tied to this event.
- getHeaderMap() - Method in class software.amazon.disco.agent.event.AbstractProtocolEvent
-
Get the internal header map.
- getHost() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolRequestEvent
-
Common HTTP metadata: return the host entry from the header.
- getHost() - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Common HTTP metadata: return the host entry from the header.
- getHTTPOrigin() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolRequestEvent
-
Common HTTP metadata: return the origin entry from the header.
- getHTTPOrigin() - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Common HTTP metadata: return the origin entry from the header.
- getHttpRequestEvent() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolResponseEvent
-
Get the HTTP Request event that came before this response event.
- getHttpRequestEvent() - Method in class software.amazon.disco.agent.event.HttpServletNetworkResponseEvent
-
Get the HTTP Request event that came before this response event.
- getLocalIPAddress() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolRequestEvent
-
Retrieve the IP address of the interface on which the request was received.
- getLocalIPAddress() - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Retrieve the IP address of the interface on which the request was received.
- getMetadata(String) - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Get a value from the DiSCo metadata map, or null if the agent is not loaded
- getMetadataWithTag(String) - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Get data from the metadata map which contains the specified tag, or return null if the agent is not loaded
- getMethod() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolRequestEvent
-
Get the http verb/method used from the incoming request.
- getMethod() - Method in class software.amazon.disco.agent.event.HttpServiceDownstreamRequestEvent
-
Get the HTTP method from the event
- getMethod() - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Get the http verb/method used from the incoming request.
- getMethodName() - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Get the name of the method specified in this ReflectiveCall
- getNetworkRequestEvent() - Method in class software.amazon.disco.agent.event.AbstractNetworkProtocolResponseEvent
-
Get the prior network request event
- getNetworkRequestEvent() - Method in interface software.amazon.disco.agent.event.NetworkProtocolResponseEvent
-
Get the prior network request event
- getNetworkType() - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Get the network type of this ProtocolNetworkEvent
- getNetworkType() - Method in class software.amazon.disco.agent.event.HttpServletNetworkResponseEvent
-
Get the network type of this ProtocolNetworkEvent
- getNetworkType() - Method in interface software.amazon.disco.agent.event.NetworkProtocolEvent
-
Get the network type of this ProtocolNetworkEvent
- getOperation() - Method in class software.amazon.disco.agent.event.AbstractServiceEvent
-
Get the operation name
- getOperation() - Method in class software.amazon.disco.agent.event.AbstractThreadEvent
-
Get the particular type of ThreadEvent ENTERING or EXITING
- getOperation() - Method in class software.amazon.disco.agent.event.AbstractTransactionEvent
-
Get the type of TransactionEvent, BEGIN or END
- getOperation() - Method in interface software.amazon.disco.agent.event.ServiceEvent
-
Get the operation name
- getOperation() - Method in class software.amazon.disco.agent.event.ThreadEnterEvent
-
Get the particular type of ThreadEvent ENTERING or EXITING
- getOperation() - Method in interface software.amazon.disco.agent.event.ThreadEvent
-
Get the particular type of ThreadEvent ENTERING or EXITING
- getOperation() - Method in class software.amazon.disco.agent.event.ThreadExitEvent
-
Get the particular type of ThreadEvent ENTERING or EXITING
- getOperation() - Method in class software.amazon.disco.agent.event.TransactionBeginEvent
-
Get the type of TransactionEvent, BEGIN or END
- getOperation() - Method in class software.amazon.disco.agent.event.TransactionEndEvent
-
Get the type of TransactionEvent, BEGIN or END
- getOperation() - Method in interface software.amazon.disco.agent.event.TransactionEvent
-
Get the type of TransactionEvent, BEGIN or END
- getOrigin() - Method in class software.amazon.disco.agent.event.AbstractEvent
-
Getter for the Event's origin.
- getOrigin() - Method in interface software.amazon.disco.agent.event.Event
-
Getter for the Event's origin.
- getParentId() - Method in class software.amazon.disco.agent.event.AbstractThreadEvent
-
Get the parent threadId
- getParentId() - Method in interface software.amazon.disco.agent.event.ThreadEvent
-
Get the parent threadId
- getPriority() - Method in interface software.amazon.disco.agent.event.Listener
-
All Listeners have a priority.
- getProtocolRequestEvent() - Method in class software.amazon.disco.agent.event.AbstractProtocolResponseEvent
- getProtocolRequestEvent() - Method in interface software.amazon.disco.agent.event.ProtocolResponseEvent
- getReferer() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolRequestEvent
-
Common HTTP metadata: return the referer entry from the header.
- getReferer() - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Common HTTP metadata: return the referer entry from the header.
- getRemoteIPAddress() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolRequestEvent
-
Retrieve the IP address of the client that sent the request.
- getRemoteIPAddress() - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Retrieve the IP address of the client that sent the request.
- getRequest() - Method in class software.amazon.disco.agent.event.AbstractProtocolRequestEvent
-
Get the protocol-level request object
- getRequest() - Method in class software.amazon.disco.agent.event.AbstractServiceCancellationEvent
-
Get the associated request event
- getRequest() - Method in class software.amazon.disco.agent.event.AbstractServiceRequestEvent
-
Get the request object
- getRequest() - Method in class software.amazon.disco.agent.event.AbstractServiceResponseEvent
-
Get the associated request event
- getRequest() - Method in interface software.amazon.disco.agent.event.ProtocolRequestEvent
-
Get the protocol-level request object
- getRequest() - Method in interface software.amazon.disco.agent.event.ServiceCancellationEvent
-
Get the associated request event
- getRequest() - Method in interface software.amazon.disco.agent.event.ServiceRequestEvent
-
Get the request object
- getRequest() - Method in interface software.amazon.disco.agent.event.ServiceResponseEvent
-
Get the associated request event
- getResponse() - Method in class software.amazon.disco.agent.event.AbstractProtocolResponseEvent
-
Get the protocol-level response object
- getResponse() - Method in class software.amazon.disco.agent.event.AbstractServiceResponseEvent
-
Get the response object
- getResponse() - Method in interface software.amazon.disco.agent.event.ProtocolResponseEvent
-
Get the protocol-level response object
- getResponse() - Method in interface software.amazon.disco.agent.event.ServiceResponseEvent
-
Get the response object
- getReturnType() - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Get the class return type of the method specified in this ReflectiveCall
- getRtype() - Method in class software.amazon.disco.agent.reflect.MethodHandleWrapper
-
Deprecated.Get the return type of the method referred to by this MethodHandleWrapper
- getService() - Method in class software.amazon.disco.agent.event.AbstractServiceEvent
-
Get the service name
- getService() - Method in interface software.amazon.disco.agent.event.ServiceEvent
-
Get the service name
- getSourceAddress() - Method in class software.amazon.disco.agent.event.AbstractProtocolRequestEvent
-
Get the source address; i.e.
- getSourceAddress() - Method in interface software.amazon.disco.agent.event.ProtocolRequestEvent
-
Get the source address; i.e.
- getSourceIP() - Method in class software.amazon.disco.agent.event.AbstractNetworkProtocolRequestEvent
-
Get the source IP address.
- getSourceIP() - Method in interface software.amazon.disco.agent.event.NetworkProtocolRequestEvent
-
Get the source IP address.
- getSourcePort() - Method in class software.amazon.disco.agent.event.AbstractNetworkProtocolRequestEvent
-
Get the socket-level source port; the port that the caller used to send data.
- getSourcePort() - Method in interface software.amazon.disco.agent.event.NetworkProtocolRequestEvent
-
Get the socket-level source port; the port that the caller used to send data.
- getStatusCode() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolResponseEvent
-
The HTTP status code
- getStatusCode() - Method in class software.amazon.disco.agent.event.HttpServiceDownstreamResponseEvent
-
Get the status code stored in the Event
- getStatusCode() - Method in class software.amazon.disco.agent.event.HttpServletNetworkResponseEvent
-
The HTTP status code
- getStatusIndicator() - Method in class software.amazon.disco.agent.event.AbstractProtocolResponseEvent
-
Returns the status indicator of this response event.
- getStatusIndicator() - Method in interface software.amazon.disco.agent.event.ProtocolResponseEvent
-
Returns the status indicator of this response event.
- getThrown() - Method in class software.amazon.disco.agent.event.AbstractServiceResponseEvent
-
Get the thrown exception
- getThrown() - Method in interface software.amazon.disco.agent.event.ServiceResponseEvent
-
Get the thrown exception
- getType() - Method in class software.amazon.disco.agent.event.AbstractNetworkProtocolRequestEvent
-
Get the type of this ProtocolRequestEvent
- getType() - Method in class software.amazon.disco.agent.event.AbstractNetworkProtocolResponseEvent
-
Get the type of this ProtocolRequestEvent
- getType() - Method in class software.amazon.disco.agent.event.AbstractServiceEvent
-
Get the type of this ServiceEvent
- getType() - Method in interface software.amazon.disco.agent.event.ProtocolEvent
-
Get the type of this ProtocolRequestEvent
- getType() - Method in class software.amazon.disco.agent.event.ServiceActivityRequestEvent
-
Get the type of this ServiceEvent
- getType() - Method in class software.amazon.disco.agent.event.ServiceActivityResponseEvent
-
Get the type of this ServiceEvent
- getType() - Method in class software.amazon.disco.agent.event.ServiceDownstreamCancellationEvent
-
Get the type of this ServiceEvent
- getType() - Method in class software.amazon.disco.agent.event.ServiceDownstreamRequestEvent
-
Get the type of this ServiceEvent
- getType() - Method in class software.amazon.disco.agent.event.ServiceDownstreamResponseEvent
-
Get the type of this ServiceEvent
- getType() - Method in interface software.amazon.disco.agent.event.ServiceEvent
-
Get the type of this ServiceEvent
- getUninitializedTransactionContextValue() - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Get the default uninitialized Transaction Context value
- getUri() - Method in class software.amazon.disco.agent.event.HttpServiceDownstreamRequestEvent
-
Get the URI from the event
- getURL() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolRequestEvent
-
Get the URL associated with the incoming request
- getURL() - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Get the URL associated with the incoming request
- getUserAgent() - Method in interface software.amazon.disco.agent.event.HttpNetworkProtocolRequestEvent
-
Common HTTP metadata: return the user-agent entry from the header.
- getUserAgent() - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Common HTTP metadata: return the user-agent entry from the header.
H
- handleUncaughtException(ReflectiveCall, Object[], Throwable) - Method in interface software.amazon.disco.agent.reflect.UncaughtExceptionHandler
-
Receive any exception thrown as part of calling a DiSCo agent method.
- HeaderReplaceable - Interface in software.amazon.disco.agent.event
-
A composable interface that Disco Events can implement if consumers of those events should be able to manipulate the headers of the request associated with the event.
- HttpNetworkProtocolRequestEvent - Interface in software.amazon.disco.agent.event
-
An event that occurs prior to serving a http, network request.
- HttpNetworkProtocolResponseEvent - Interface in software.amazon.disco.agent.event
-
An event that occurs after to serving a http, network request.
- HttpServiceDownstreamRequestEvent - Class in software.amazon.disco.agent.event
-
Specialization of a ServiceDownstreamRequestEvent, to encapsulate data specific to HTTP-like downstream call requests.
- HttpServiceDownstreamRequestEvent(String, String, String) - Constructor for class software.amazon.disco.agent.event.HttpServiceDownstreamRequestEvent
-
Construct a new HttpServiceDownstreamRequestEvent
- HttpServiceDownstreamResponseEvent - Class in software.amazon.disco.agent.event
-
Specialization of a ServiceDownstreamResponseEvent, to encapsulate data specific to HTTP-like downstream call responses.
- HttpServiceDownstreamResponseEvent(String, String, String, ServiceDownstreamRequestEvent) - Constructor for class software.amazon.disco.agent.event.HttpServiceDownstreamResponseEvent
-
Construct a new HttpServiceDownstreamResponseEvent
- HttpServletNetworkRequestEvent - Class in software.amazon.disco.agent.event
-
A concrete implementation of the HttpNetworkProtocolRequestEvent to express when an HTTP Servlet has been intercepted.
- HttpServletNetworkRequestEvent(String, int, int, String, String) - Constructor for class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
- HttpServletNetworkResponseEvent - Class in software.amazon.disco.agent.event
-
A concrete implementation of the HttpNetworkProtocolResponseEvent to express after an HTTP Servlet has been intercepted.
- HttpServletNetworkResponseEvent(String, HttpNetworkProtocolRequestEvent) - Constructor for class software.amazon.disco.agent.event.HttpServletNetworkResponseEvent
I
- info(String) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given message at the INFO level of severity.
- info(String) - Static method in class software.amazon.disco.agent.reflect.logging.Logger
-
Log an info message
- info(String, Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable object with the given Message at the INFO level of severity.
- info(Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable at the INFO level of severity.
- INFO - software.amazon.disco.agent.logging.Logger.Level
-
By default the minimum visible level of Logging.
- install(UncaughtExceptionHandler) - Static method in interface software.amazon.disco.agent.reflect.UncaughtExceptionHandler
-
Helper method to install an instance of an UncaughtExceptionHandler.
- installLoggerFactory(LoggerFactory) - Static method in class software.amazon.disco.agent.reflect.logging.Logger
-
Install a LoggerFactory to be used throughout the DiSCo agent.
- installUncaughtExceptionHandler(UncaughtExceptionHandler) - Static method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Install an UncaughtExceptionHandler, to receive a notification whe any exception is thrown by any method in the DiSCo reflect APIs.
- invoke(Object, Object...) - Method in class software.amazon.disco.agent.reflect.MethodHandleWrapper
-
Deprecated.Invoke the method referred to by this MethodHandleWrapper
- isAgentPresent() - Static method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Test if a DiSCo agent is present
- isHandleLoaded() - Method in class software.amazon.disco.agent.reflect.MethodHandleWrapper
-
Deprecated.Method to provide information whether MethodHandle is loaded or not eg: returns false if any exceptions are thrown while building MethodHandle
- isListenerPresent(Listener) - Static method in class software.amazon.disco.agent.reflect.event.EventBus
-
Test if a given listener is currently registered with the EventBus
- isWithinCreatedContext() - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Test if we are currently considered to be inside a created Transaction Context or not.
L
- listen(Event) - Method in interface software.amazon.disco.agent.event.Listener
-
The receiver of the Event at the time the Event is published
- Listener - Interface in software.amazon.disco.agent.event
-
Implement this class to supply a listener to the EventBus
- log(Logger.Level, String) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given message of the given severity.
- log(Logger.Level, String, Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable object with the given Message at the given severity.
- log(Logger.Level, Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable object with the given message severity.
- Logger - Class in software.amazon.disco.agent.reflect.logging
-
Clients of the disco.agent.reflect package may supply logging callbacks for better visibility what is happening when they call the methods provided by the package, and to enable Logging from the DiSCo agent itself, using a supplied LoggerFactory
- Logger - Interface in software.amazon.disco.agent.logging
-
In a manner similar to Java logging frameworks such as log4j, DiSCo provides a pluggable interface for attaching named loggers e.g.
- Logger() - Constructor for class software.amazon.disco.agent.reflect.logging.Logger
- Logger.Level - Enum in software.amazon.disco.agent.logging
-
Levels of log, in increasing order of severity
- LoggerFactory - Interface in software.amazon.disco.agent.logging
-
By default DiSCo has a null logging implementation, to ensure it is free of hazards and optimal by default.
M
- methodFound() - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Test if the method about to be called exists or not
- MethodHandleWrapper - Class in software.amazon.disco.agent.reflect
-
Deprecated.deprecated in favour of
software.amazon.disco.agent.interception.templates.DataAccessorwhich should be used wherever possible instead. - MethodHandleWrapper(String, ClassLoader, String, Class) - Constructor for class software.amazon.disco.agent.reflect.MethodHandleWrapper
-
Deprecated.Create a new MethodHandleWrapper
- MethodHandleWrapper(String, ClassLoader, String, Class, Class...) - Constructor for class software.amazon.disco.agent.reflect.MethodHandleWrapper
-
Deprecated.Create a new MethodHandleWrapper
- MethodHandleWrapper(String, ClassLoader, String, Class, String...) - Constructor for class software.amazon.disco.agent.reflect.MethodHandleWrapper
-
Deprecated.Create a new MethodHandleWrapper
- MethodHandleWrapper(String, ClassLoader, String, String, String...) - Constructor for class software.amazon.disco.agent.reflect.MethodHandleWrapper
-
Deprecated.Create a new MethodHandleWrapper
N
- NETWORK - software.amazon.disco.agent.event.ProtocolEvent.Type
-
If the event is 'I'm sending/receiving some data through the network layer'
- NetworkProtocolEvent - Interface in software.amazon.disco.agent.event
-
An event issued to the event bus on a network-level call.
- NetworkProtocolEvent.NetworkType - Enum in software.amazon.disco.agent.event
-
The underlying network protocol used
- NetworkProtocolRequestEvent - Interface in software.amazon.disco.agent.event
-
Specialization of NetworkProtocolEvent for network requests.
- NetworkProtocolResponseEvent - Interface in software.amazon.disco.agent.event
-
Specialization of NetworkProtocolEvent for network requests.
O
- ofClass(String) - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Set the partial class name which declares the method to be called as it appears after software.amazon.disco.agent e.g.
- ofMethod(String) - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Set the name of the method to be called
- onInstance(Object) - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
For non-static methods, set the instance object on which to invoke the method
- origin - Variable in class software.amazon.disco.agent.event.AbstractEvent
P
- ProtocolEvent - Interface in software.amazon.disco.agent.event
-
An event issued to the event bus on a protocol-level call.
- ProtocolEvent.Type - Enum in software.amazon.disco.agent.event
-
The type of this ProtocolEvent
- ProtocolRequestEvent - Interface in software.amazon.disco.agent.event
-
Specialization of ProtocolEvent for protocol requests.
- ProtocolResponseEvent - Interface in software.amazon.disco.agent.event
-
Specialization of ProtocolEvent for protocol requests.
- publish(Event) - Static method in class software.amazon.disco.agent.reflect.event.EventBus
-
Publish an event which will be broadcast to all listeners
- putMetadata(String, Object) - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Set a value in the DiSCo metadata map, or do nothing if the agent is not loaded
R
- ReflectiveCall<T> - Class in software.amazon.disco.agent.reflect
-
Everything in disco.agent.reflect basically works the same way - attempting to reflectively invoke methods, usually static ones, that reside within the Agent.
- removeAllListeners() - Static method in class software.amazon.disco.agent.reflect.event.EventBus
-
Remove all listeners from the EventBus, returning it to its initial state
- removeListener(Listener) - Static method in class software.amazon.disco.agent.reflect.event.EventBus
-
Remove a listener from the EventBus
- removeMetadata(String) - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Remove a value in the DiSCo metadata map, or do nothing if the agent is not loaded
- replaceHeader(String, String) - Method in interface software.amazon.disco.agent.event.HeaderReplaceable
-
Creates the provided header if it does not exist yet, or replaces the header if it does already exist.
- replaceHeader(String, String) - Method in class software.amazon.disco.agent.event.HttpServiceDownstreamRequestEvent
-
This method is deprecated.
- returning(Class<T>) - Static method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Factory method to create a new ReflectiveCall which is on a method returning the given type
- returningVoid() - Static method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Factory method to create a new ReflectiveCall which is on a void method
S
- ServiceActivityRequestEvent - Class in software.amazon.disco.agent.event
-
Concrete ServiceEvent to express a service activity request, i.e.
- ServiceActivityRequestEvent(String, String, String) - Constructor for class software.amazon.disco.agent.event.ServiceActivityRequestEvent
-
Construct a ServiceActivityRequestEvent
- ServiceActivityResponseEvent - Class in software.amazon.disco.agent.event
-
Concrete ServiceEvent to express a service activity response, i.e.
- ServiceActivityResponseEvent(String, String, String, ServiceRequestEvent) - Constructor for class software.amazon.disco.agent.event.ServiceActivityResponseEvent
-
Construct a ServiceActivityResponseEvent
- ServiceCancellationEvent - Interface in software.amazon.disco.agent.event
-
Specialization of ServiceEvent for service requests.
- ServiceDownstreamCancellationEvent - Class in software.amazon.disco.agent.event
-
An event issued to the event bus when downstream service request is cancelled
- ServiceDownstreamCancellationEvent(String, String, String, ServiceDownstreamRequestEvent) - Constructor for class software.amazon.disco.agent.event.ServiceDownstreamCancellationEvent
-
Constructor for a ServiceDownstreamCancellationEvent
- ServiceDownstreamRequestEvent - Class in software.amazon.disco.agent.event
-
Concrete ServiceEvent to express a service downstream call which is about to occur, i.e.
- ServiceDownstreamRequestEvent(String, String, String) - Constructor for class software.amazon.disco.agent.event.ServiceDownstreamRequestEvent
-
Construct a ServiceDownstreamRequestEvent
- ServiceDownstreamResponseEvent - Class in software.amazon.disco.agent.event
-
Concrete ServiceEvent to express when a service downstream call which has completed, i.e.
- ServiceDownstreamResponseEvent(String, String, String, ServiceRequestEvent) - Constructor for class software.amazon.disco.agent.event.ServiceDownstreamResponseEvent
-
Construct a ServiceDownstreamRequestEvent
- ServiceEvent - Interface in software.amazon.disco.agent.event
-
An event issued to the event bus on a service activity or downstream call
- ServiceEvent.Type - Enum in software.amazon.disco.agent.event
-
The type of this ServiceEvent
- ServiceRequestEvent - Interface in software.amazon.disco.agent.event
-
Specialization of ServiceEvent for service requests.
- ServiceResponseEvent - Interface in software.amazon.disco.agent.event
-
Specialization of ServiceEvent for service requests.
- set(String) - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Set the DiSCo Transaction ID to a specific value.
- setMetadataTag(String, String) - Static method in class software.amazon.disco.agent.reflect.concurrent.TransactionContext
-
Set a tag on data from the metadata map with a tag, or do nothing if the agent is not loaded
- software.amazon.disco.agent.event - package software.amazon.disco.agent.event
- software.amazon.disco.agent.logging - package software.amazon.disco.agent.logging
- software.amazon.disco.agent.reflect - package software.amazon.disco.agent.reflect
- software.amazon.disco.agent.reflect.concurrent - package software.amazon.disco.agent.reflect.concurrent
- software.amazon.disco.agent.reflect.event - package software.amazon.disco.agent.reflect.event
- software.amazon.disco.agent.reflect.logging - package software.amazon.disco.agent.reflect.logging
- StandardOutputLoggerFactory - Class in software.amazon.disco.agent.reflect.logging
-
By default, DiSCo has a null implementation of logging, to ensure that its behavior is safe and optimal by default.
- StandardOutputLoggerFactory() - Constructor for class software.amazon.disco.agent.reflect.logging.StandardOutputLoggerFactory
- suppressIfAgentNotPresent(boolean) - Static method in class software.amazon.disco.agent.reflect.logging.Logger
-
Set whether to suppress messages when the agent is not present.
T
- TCP - software.amazon.disco.agent.event.NetworkProtocolEvent.NetworkType
-
The layer being observed uses TCP as its transport protocol
- ThreadEnterEvent - Class in software.amazon.disco.agent.event
-
Concrete ThreadEvent for when a worker thread is entered
- ThreadEnterEvent(String, Long, Long) - Constructor for class software.amazon.disco.agent.event.ThreadEnterEvent
-
Construct a new ThreadEnterEvent
- ThreadEvent - Interface in software.amazon.disco.agent.event
-
An event issued to the event bus on Thread entry/exit
- ThreadEvent.Operation - Enum in software.amazon.disco.agent.event
-
The specific type of ThreadEvent
- ThreadExitEvent - Class in software.amazon.disco.agent.event
-
Concrete ThreadEvent for when a worker thread is finished, and the inner FunctionalInterface is about to return
- ThreadExitEvent(String, Long, Long) - Constructor for class software.amazon.disco.agent.event.ThreadExitEvent
-
Construct a new ThreadExitEvent
- toString() - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
- trace(String) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given message at the TRACE level of severity.
- trace(String, Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable object with the given Message at the TRACE level of severity.
- trace(Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable at the TRACE level of severity.
- TRACE - software.amazon.disco.agent.logging.Logger.Level
-
The lowest and least useful form of Logging in most circumstances.
- TransactionBeginEvent - Class in software.amazon.disco.agent.event
-
Concrete TransactionEvent to denote a transaction logically beginning
- TransactionBeginEvent(String) - Constructor for class software.amazon.disco.agent.event.TransactionBeginEvent
-
Create a TransactionBeginEvent
- TransactionContext - Class in software.amazon.disco.agent.reflect.concurrent
-
Manipulation/overriding of the current TransactionContext, which identifies the current service interaction i.e.
- TransactionContext() - Constructor for class software.amazon.disco.agent.reflect.concurrent.TransactionContext
- TransactionEndEvent - Class in software.amazon.disco.agent.event
-
Concrete TransactionEvent to denote a transaction logically ending
- TransactionEndEvent(String) - Constructor for class software.amazon.disco.agent.event.TransactionEndEvent
-
Create a TransactionEndEvent
- TransactionEvent - Interface in software.amazon.disco.agent.event
-
An event issued to the event bus at the beginning and end of logical 'transactions'
- TransactionEvent.Operation - Enum in software.amazon.disco.agent.event
-
The kind of specific operation of this transaction event
U
- UDP - software.amazon.disco.agent.event.NetworkProtocolEvent.NetworkType
-
The layer being observed uses UDP as its transport protocol
- UncaughtExceptionHandler - Interface in software.amazon.disco.agent.reflect
-
Modeled after Thread#UncaughtExceptionHandler Install an implementation of this via the provided install() method, to receive a notification when any exception is thrown by any method in the DiSCo reflect APIs.
V
- valueOf(String) - Static method in enum software.amazon.disco.agent.event.NetworkProtocolEvent.NetworkType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum software.amazon.disco.agent.event.ProtocolEvent.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum software.amazon.disco.agent.event.ServiceEvent.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum software.amazon.disco.agent.event.ThreadEvent.Operation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum software.amazon.disco.agent.event.TransactionEvent.Operation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum software.amazon.disco.agent.logging.Logger.Level
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum software.amazon.disco.agent.event.NetworkProtocolEvent.NetworkType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum software.amazon.disco.agent.event.ProtocolEvent.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum software.amazon.disco.agent.event.ServiceEvent.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum software.amazon.disco.agent.event.ThreadEvent.Operation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum software.amazon.disco.agent.event.TransactionEvent.Operation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum software.amazon.disco.agent.logging.Logger.Level
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warn(String) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given message at the WARN level of severity.
- warn(String) - Static method in class software.amazon.disco.agent.reflect.logging.Logger
-
Log a warning message
- warn(String, Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable object with the given Message at the WARN level of severity.
- warn(Throwable) - Method in interface software.amazon.disco.agent.logging.Logger
-
Log the given Throwable at the WARN level of severity.
- WARN - software.amazon.disco.agent.logging.Logger.Level
-
A warning is generally informative, but may be a canary for missing functionality.
- withArgTypes(Class...) - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Declare the expected method signature by its arguments
- withContentLength(long) - Method in class software.amazon.disco.agent.event.HttpServiceDownstreamResponseEvent
-
Add a contentLength to this Event
- withData(String, Object) - Method in class software.amazon.disco.agent.event.AbstractEvent
-
Add a data item to this event with the given name and value
- withDate(String) - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Common HTTP Metadata: Store the date into the header map
- withDefaultValue(T) - Method in class software.amazon.disco.agent.reflect.ReflectiveCall
-
Set the default value to return in case no DiSCo agent is present.
- withHeaderData(String, String) - Method in class software.amazon.disco.agent.event.AbstractProtocolEvent
-
Stores the key-value pair into the header map.
- withHeaderMap(Map<String, String>) - Method in class software.amazon.disco.agent.event.AbstractProtocolEvent
-
Populate the contents of the inputMap into the header map.
- withHeaderMap(Map<String, String>) - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Populate the contents of the inputMap into the header map.
- withHeaderMap(Map<String, String>) - Method in class software.amazon.disco.agent.event.HttpServletNetworkResponseEvent
-
Store all the contents of inputMap into the header map.
- withHost(String) - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Common HTTP Metadata: Store the host into the header map
- withHTTPOrigin(String) - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Common HTTP Metadata: Store the origin into the header map
- withMethod(String) - Method in class software.amazon.disco.agent.event.HttpServiceDownstreamRequestEvent
-
Set the HTTP method in this event
- withMethod(String) - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Store the HTTP method/verb into this event
- withReferer(String) - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Common HTTP Metadata: Store the referer into the header map
- withRequest(Object) - Method in class software.amazon.disco.agent.event.AbstractProtocolRequestEvent
-
The literal request object stored in the protocol event.
- withRequest(Object) - Method in class software.amazon.disco.agent.event.AbstractServiceRequestEvent
-
Add a request object to this event
- withRequest(Object) - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Store the literal HTTP request object into this event.
- withRequest(ServiceRequestEvent) - Method in class software.amazon.disco.agent.event.AbstractServiceCancellationEvent
-
Add a request object to this event
- withResponse(Object) - Method in class software.amazon.disco.agent.event.AbstractProtocolResponseEvent
-
Add the response object into this protocol event.
- withResponse(Object) - Method in class software.amazon.disco.agent.event.AbstractServiceResponseEvent
-
Add a response object to this event
- withResponse(Object) - Method in class software.amazon.disco.agent.event.HttpServletNetworkResponseEvent
-
Store the response object associated with this http response.
- withStatusCode(int) - Method in class software.amazon.disco.agent.event.HttpServiceDownstreamResponseEvent
-
Add a status code to this Event
- withStatusCode(int) - Method in class software.amazon.disco.agent.event.HttpServletNetworkResponseEvent
-
Store the status code that resulted from the HTTP response.
- withStatusIndicator(String) - Method in class software.amazon.disco.agent.event.AbstractProtocolResponseEvent
-
Add the status indicator into this event.
- withThrown(Throwable) - Method in class software.amazon.disco.agent.event.AbstractServiceResponseEvent
-
Add a thrown exception to this event
- withUri(String) - Method in class software.amazon.disco.agent.event.HttpServiceDownstreamRequestEvent
-
Set the URI in this event
- withURL(String) - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Store the HTTP URL from the incoming request into this event.
- withUserAgent(String) - Method in class software.amazon.disco.agent.event.HttpServletNetworkRequestEvent
-
Common HTTP Metadata: Store the user-agent into the header map
All Classes All Packages