See: Description
| Class | Description |
|---|---|
| MultiplexProviderFactory |
Factory class to create tracing Providers.
|
| NullProviderFactory |
Factory class to create tracing Providers.
|
| PrintStreamProviderFactory |
Factory class to create tracing Providers.
|
| ProbeSkeleton |
Provides common code for implementation of
Probe classes. |
| ProviderSkeleton |
Provides a common code for implementation of
Provider classes. |
There are four tracing frameworks currently defined. The "Null" and
"Multiplex" frameworks are used internally as part of the implementation.
The "DTrace" framework is the prime consumer framework at the moment,
while the "PrintStream" framework is a functional, but hidden, framework
which can be used to track probe firings. All but the "DTrace" framework
are defined in this package. The "DTrace" framework is implemented in the
sun.tracing.dtrace package.
This package also contains the ProviderSkeleton class, which
holds most of the common code needed for implementing frameworks.
The "Null" framework is used when there are no other active frameworks. It accomplishes absolutely nothing and is merely a placeholder so that the application can call the tracing routines without error.
The "Multiplex" framework is used when there are multiple active frameworks. It is initialized with the framework factories and create providers and probes that dispatch to each active framework in turn.
The "PrintStream" framework is currently a debugging framework which dispatches trace calls to a user-defined PrintStream class, defined by a property. It may some day be opened up to general use.
See the sun.tracing.dtrace and com.sun.tracing.dtrace
packages for information on the "DTrace" framework.
Copyright © 2012. All Rights Reserved.