public interface ActivityCollector
Modifier and Type | Method and Description |
---|---|
void |
endScope()
This method completes the scope.
|
boolean |
isCollectionEnabled()
This method indicates whether activity collection is
currently enabled.
|
boolean |
isScopeActive()
This method determines whether a scope is already active.
|
String |
processInformation(String processor,
String type,
Object info,
Map<String,Object> headers,
ActivityType actType)
This method processes the information associated with the
supplied type, and returns the representation of that
information that should be included with the activity
event.
|
void |
record(ActivityType actType)
This method records the supplied activity type.
|
void |
startScope()
This method can be used to create an application controlled
scope.
|
void |
validate(ActivityType actType)
This method validates the supplied activity type.
|
boolean isCollectionEnabled()
void startScope()
boolean isScopeActive()
void endScope()
String processInformation(String processor, String type, Object info, Map<String,Object> headers, ActivityType actType)
processor
- The optional information processor to usetype
- The information typeinfo
- The informationheaders
- The optional header informationactType
- The activity type being initializedvoid validate(ActivityType actType) throws Exception
actType
- The activity typeException
- Failed to validate activityvoid record(ActivityType actType)
actType
- The activity typeCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.