public interface SessionManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
activate(String uri)
This method is a guard condition for instrumentation rules, used
to determine whether the invoker should be permitted to create
and record a node as part of a business transaction fragment.
|
boolean |
activate(String uri,
String id)
This method is a guard condition for Consumer based instrumentation
rules, used to determine whether the invoker should be permitted to
create and record a Consumer as part of a business transaction fragment.
|
void |
assertComplete()
This method asserts that the current thread of execution is complete.
|
void |
completeLink(String id)
This method completes the link between the current thread of execution and another
associated with the supplied id.
|
void |
initiateLink(String id)
This method initiates a link between this thread of execution and another one based
on the supplied id.
|
boolean |
isActive()
This method determines if there is an active session associated with
this thread of execution.
|
boolean |
isLinkActive(String id)
This method identifies whether a link with the supplied id is currently active
(i.e.
|
void |
releaseNode(String id)
This method indicates that the identified node, for this thread of execution, should
be released.
|
void |
retainNode(String id)
This method indicates that the current node, for this thread of execution, should
be retained temporarily pending further changes.
|
Node |
retrieveNode(String id)
This method returns the node associated, for this thread of execution, identified
by the supplied id.
|
void |
suppress()
This method suppressed recording of any child nodes under the current business
transaction fragment node.
|
void |
unlink()
Unlink the current "linked" thread of execution from the target thread.
|
boolean activate(String uri, String id)
uri - The URIid - The idboolean activate(String uri)
uri - The URIboolean isActive()
void retainNode(String id)
id - The identifier used to later on to identify the nodevoid releaseNode(String id)
id - The identifier used to identify the nodeNode retrieveNode(String id)
id - The identifier used to identify the nodevoid initiateLink(String id)
id - The idboolean isLinkActive(String id)
id - The idvoid completeLink(String id)
id - The id associated with the target thread of executionvoid unlink()
void suppress()
void assertComplete()
Copyright © 2015 Red Hat, Inc.. All rights reserved.