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

$

$(int) - Static method in class com.sun.btrace.BTraceUtils
Returns n'th command line argument.
$(int) - Static method in class com.sun.btrace.BTraceUtils.Sys
Returns n'th command line argument.
$length() - Static method in class com.sun.btrace.BTraceUtils
Returns the number of command line arguments.
$length() - Static method in class com.sun.btrace.BTraceUtils.Sys
Returns the number of command line arguments.

A

accessFlags(Class) - Static method in class com.sun.btrace.BTraceUtils
Returns the access flags of the given Class.
accessFlags(Field) - Static method in class com.sun.btrace.BTraceUtils
Returns the access flags of the given Field.
accessFlags(Class) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns the access flags of the given Class.
accessFlags(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns the access flags of the given Field.
add(long) - Method in class com.sun.btrace.aggregation.Aggregation
Adds an item of data to the aggregation with an empty key.
add(AggregationKey, long) - Method in class com.sun.btrace.aggregation.Aggregation
Adds an item of data to the aggregation with the specified grouping key.
add(long) - Method in interface com.sun.btrace.aggregation.AggregationValue
Adds a data item to the aggregated value.
addAndGet(AtomicInteger, int) - Static method in class com.sun.btrace.BTraceUtils
Atomically adds the given value to the current value.
addAndGet(AtomicLong, long) - Static method in class com.sun.btrace.BTraceUtils
Atomically adds the given value to the current value.
addAndGet(AtomicInteger, int) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically adds the given value to the current value.
addAndGet(AtomicLong, long) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically adds the given value to the current value.
addLast(Deque<V>, V) - Static method in class com.sun.btrace.BTraceUtils
 
addLast(Deque<V>, V) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
addMessageDispatcher(BTraceTask.MessageDispatcher) - Method in class com.sun.btrace.api.BTraceTask
 
addStateListener(BTraceTask.StateListener) - Method in class com.sun.btrace.api.BTraceTask
Listener management (can use WeakListeners to create a new listener)
addToAggregation(Aggregation, long) - Static method in class com.sun.btrace.BTraceUtils
Adds a value to the aggregation with no grouping key.
addToAggregation(Aggregation, AggregationKey, long) - Static method in class com.sun.btrace.BTraceUtils
Adds a value to the aggregation with a grouping key.
addToAggregation(Aggregation, long) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
Adds a value to the aggregation with no grouping key.
addToAggregation(Aggregation, AggregationKey, long) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
Adds a value to the aggregation with a grouping key.
Aggregation - Class in com.sun.btrace.aggregation
BTrace stores the results of aggregating functions in an Aggregation.
Aggregation(AggregationFunction) - Constructor for class com.sun.btrace.aggregation.Aggregation
Creates an aggregation.
AggregationFunction - Enum in com.sun.btrace.aggregation
The type of aggregation functions.
AggregationKey - Class in com.sun.btrace.aggregation
A key identifying an element of data in an aggregation.
AggregationKey(Object[]) - Constructor for class com.sun.btrace.aggregation.AggregationKey
 
AggregationValue - Interface in com.sun.btrace.aggregation
An element of aggregated data stored in an Aggregation.
AnyType - Interface in com.sun.btrace
This interface type is used in BTrace programs to tell that any reference type [object or array] is allowed in the place where it is used.
append(Appendable, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
Appends a string to an appendable buffer created by BTraceUtils.Strings.newStringBuilder()
availableProcessors() - Static method in class com.sun.btrace.BTraceUtils
Returns the number of processors available to the Java virtual machine.
availableProcessors() - Static method in class com.sun.btrace.BTraceUtils.Sys.Env
Returns the number of processors available to the Java virtual machine.

B

BaseBTraceCompiler - Class in com.sun.btrace.spi
 
BaseBTraceCompiler(BTraceTask) - Constructor for class com.sun.btrace.spi.BaseBTraceCompiler
 
blockName - Variable in class com.sun.btrace.Profiler.Record
 
bootClassPath() - Static method in class com.sun.btrace.BTraceUtils
Returns the boot class path that is used by the bootstrap class loader to search for class files.
bootClassPath() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the boot class path that is used by the bootstrap class loader to search for class files.
box(boolean) - Static method in class com.sun.btrace.BTraceUtils
Returns a Boolean instance representing the specified boolean value.
box(char) - Static method in class com.sun.btrace.BTraceUtils
Returns a Character instance representing the specified char value.
box(byte) - Static method in class com.sun.btrace.BTraceUtils
Returns a Byte instance representing the specified byte value.
box(short) - Static method in class com.sun.btrace.BTraceUtils
Returns a Short instance representing the specified short value.
box(int) - Static method in class com.sun.btrace.BTraceUtils
Returns a Integer instance representing the specified int value.
box(long) - Static method in class com.sun.btrace.BTraceUtils
Returns a Long instance representing the specified long value.
box(float) - Static method in class com.sun.btrace.BTraceUtils
Returns a Float instance representing the specified float value.
box(double) - Static method in class com.sun.btrace.BTraceUtils
Returns a Double instance representing the specified double value.
box(boolean) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a Boolean instance representing the specified boolean value.
box(char) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a Character instance representing the specified char value.
box(byte) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a Byte instance representing the specified byte value.
box(short) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a Short instance representing the specified short value.
box(int) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a Integer instance representing the specified int value.
box(long) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a Long instance representing the specified long value.
box(float) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a Float instance representing the specified float value.
box(double) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a Double instance representing the specified double value.
BTrace - Annotation Type in com.sun.btrace.annotations
Top-level annotation that identifies a BTrace class.
BTraceCompiler - Class in com.sun.btrace.api
 
BTraceCompiler() - Constructor for class com.sun.btrace.api.BTraceCompiler
 
BTraceCompilerFactory - Interface in com.sun.btrace.spi
 
BTraceEngine - Class in com.sun.btrace.api
This class serves as a factory for BTraceTask instances Usually, when using BTrace on a process with given PID one would do BTraceTask task = BTraceEngine.sharedInstance().createTask(PID)
BTraceEngine() - Constructor for class com.sun.btrace.api.BTraceEngine
 
BTraceSettings - Class in com.sun.btrace.api
 
BTraceSettings() - Constructor for class com.sun.btrace.api.BTraceSettings
 
BTraceSettingsProvider - Interface in com.sun.btrace.spi
 
BTraceTask - Class in com.sun.btrace.api
This class represents a single BTrace script An instance of BTraceTask bound to a certain process can be obtained by calling BTraceEngine.sharedInstance().createTask(PID)
BTraceTask() - Constructor for class com.sun.btrace.api.BTraceTask
 
BTraceTask.MessageDispatcher - Class in com.sun.btrace.api
CommandListener interface exposes the BTrace commands received over the wire to anyone interested
BTraceTask.MessageDispatcher() - Constructor for class com.sun.btrace.api.BTraceTask.MessageDispatcher
 
BTraceTask.State - Enum in com.sun.btrace.api
This enum represents the allowed states of the tracing task
BTraceTask.StateListener - Interface in com.sun.btrace.api
Simple state listener interface
BTraceUtils - Class in com.sun.btrace
This class is an all-in-one wrapper for BTrace DSL methods
BTraceUtils.Aggregations - Class in com.sun.btrace
 
BTraceUtils.Aggregations() - Constructor for class com.sun.btrace.BTraceUtils.Aggregations
 
BTraceUtils.Atomic - Class in com.sun.btrace
 
BTraceUtils.Atomic() - Constructor for class com.sun.btrace.BTraceUtils.Atomic
 
BTraceUtils.Collections - Class in com.sun.btrace
 
BTraceUtils.Collections() - Constructor for class com.sun.btrace.BTraceUtils.Collections
 
BTraceUtils.Counters - Class in com.sun.btrace
 
BTraceUtils.Counters() - Constructor for class com.sun.btrace.BTraceUtils.Counters
 
BTraceUtils.D - Class in com.sun.btrace
 
BTraceUtils.D() - Constructor for class com.sun.btrace.BTraceUtils.D
 
BTraceUtils.Export - Class in com.sun.btrace
 
BTraceUtils.Export() - Constructor for class com.sun.btrace.BTraceUtils.Export
 
BTraceUtils.Numbers - Class in com.sun.btrace
 
BTraceUtils.Numbers() - Constructor for class com.sun.btrace.BTraceUtils.Numbers
 
BTraceUtils.Profiling - Class in com.sun.btrace
Profiling support.
BTraceUtils.Profiling() - Constructor for class com.sun.btrace.BTraceUtils.Profiling
 
BTraceUtils.References - Class in com.sun.btrace
 
BTraceUtils.References() - Constructor for class com.sun.btrace.BTraceUtils.References
 
BTraceUtils.Reflective - Class in com.sun.btrace
 
BTraceUtils.Reflective() - Constructor for class com.sun.btrace.BTraceUtils.Reflective
 
BTraceUtils.Speculation - Class in com.sun.btrace
 
BTraceUtils.Speculation() - Constructor for class com.sun.btrace.BTraceUtils.Speculation
 
BTraceUtils.Strings - Class in com.sun.btrace
 
BTraceUtils.Strings() - Constructor for class com.sun.btrace.BTraceUtils.Strings
 
BTraceUtils.Sys - Class in com.sun.btrace
 
BTraceUtils.Sys() - Constructor for class com.sun.btrace.BTraceUtils.Sys
 
BTraceUtils.Sys.Env - Class in com.sun.btrace
 
BTraceUtils.Sys.Env() - Constructor for class com.sun.btrace.BTraceUtils.Sys.Env
 
BTraceUtils.Sys.Memory - Class in com.sun.btrace
 
BTraceUtils.Sys.Memory() - Constructor for class com.sun.btrace.BTraceUtils.Sys.Memory
 
BTraceUtils.Sys.VM - Class in com.sun.btrace
 
BTraceUtils.Sys.VM() - Constructor for class com.sun.btrace.BTraceUtils.Sys.VM
 
BTraceUtils.Threads - Class in com.sun.btrace
Namespaced methods
BTraceUtils.Threads() - Constructor for class com.sun.btrace.BTraceUtils.Threads
 
BTraceUtils.Time - Class in com.sun.btrace
 
BTraceUtils.Time() - Constructor for class com.sun.btrace.BTraceUtils.Time
 

C

classForName(String) - Static method in class com.sun.btrace.BTraceUtils
Returns Class object for given class name.
classForName(String, ClassLoader) - Static method in class com.sun.btrace.BTraceUtils
Returns the Class for the given class name using the given class loader.
classForName(String) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns Class object for given class name.
classForName(String, ClassLoader) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns the Class for the given class name using the given class loader.
classOf(Object) - Static method in class com.sun.btrace.BTraceUtils
Returns the runtime class of the given Object.
classOf(Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns the runtime class of the given Object.
classPath() - Static method in class com.sun.btrace.BTraceUtils
Returns the Java class path that is used by the system class loader to search for class files.
classPath() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the Java class path that is used by the system class loader to search for class files.
ClasspathProvider - Interface in com.sun.btrace.spi
 
clear() - Method in class com.sun.btrace.aggregation.Aggregation
Resets all values in the aggregation to their default.
clear() - Method in interface com.sun.btrace.aggregation.AggregationValue
Removes all data items previously added.
clear(Map<K, V>) - Static method in class com.sun.btrace.BTraceUtils
 
clear(Map<K, V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
clearAggregation(Aggregation) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
Resets values within the aggregation to the default.
clearAggregation(Aggregation) - Static method in class com.sun.btrace.BTraceUtils
Resets values within the aggregation to the default.
clone() - Method in class com.sun.btrace.aggregation.Aggregation
 
com.sun.btrace - package com.sun.btrace
 
com.sun.btrace.aggregation - package com.sun.btrace.aggregation
 
com.sun.btrace.annotations - package com.sun.btrace.annotations
 
com.sun.btrace.api - package com.sun.btrace.api
A public API for BTrace integration into VisualVM
com.sun.btrace.spi - package com.sun.btrace.spi
 
commit(int) - Static method in class com.sun.btrace.BTraceUtils
Commits the speculative buffer associated with id.
commit(int) - Static method in class com.sun.btrace.BTraceUtils.Speculation
Commits the speculative buffer associated with id.
committed(MemoryUsage) - Static method in class com.sun.btrace.BTraceUtils
Returns the amount of memory in bytes that is committed for the Java virtual machine to use.
committed(MemoryUsage) - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns the amount of memory in bytes that is committed for the Java virtual machine to use.
COMPARATOR - Static variable in class com.sun.btrace.Profiler.Record
 
compare(Object, Object) - Static method in class com.sun.btrace.BTraceUtils
Indicates whether two given objects are "equal to" one another.
compareAndSet(AtomicInteger, int, int) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically sets the value of given AtomitInteger to the given updated value if the current value == the expected value.
compareAndSet(AtomicLong, long, long) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically sets the value to the given updated value if the current value == the expected value.
compareAndSet(AtomicInteger, int, int) - Static method in class com.sun.btrace.BTraceUtils
Atomically sets the value of given AtomitInteger to the given updated value if the current value == the expected value.
compareAndSet(AtomicLong, long, long) - Static method in class com.sun.btrace.BTraceUtils
Atomically sets the value to the given updated value if the current value == the expected value.
compareTo(String, String) - Static method in class com.sun.btrace.BTraceUtils
Compares two strings lexicographically.
compareTo(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
Compares two strings lexicographically.
compareToIgnoreCase(String, String) - Static method in class com.sun.btrace.BTraceUtils
Compares two strings lexicographically, ignoring case differences.
compareToIgnoreCase(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
Compares two strings lexicographically, ignoring case differences.
compile(String, String) - Method in class com.sun.btrace.api.BTraceCompiler
 
compile(String, String, Writer) - Method in class com.sun.btrace.api.BTraceCompiler
 
compile(String, String, Writer) - Method in class com.sun.btrace.spi.BaseBTraceCompiler
 
concat(String, String) - Static method in class com.sun.btrace.BTraceUtils
Concatenates the specified strings together.
concat(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
Concatenates the specified strings together.
contains(Collection<E>, Object) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
contains(Object[], Object) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
contains(Collection<E>, Object) - Static method in class com.sun.btrace.BTraceUtils
 
contains(Object[], Object) - Static method in class com.sun.btrace.BTraceUtils
 
containsKey(Map<K, V>, Object) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
containsKey(Map<K, V>, Object) - Static method in class com.sun.btrace.BTraceUtils
 
containsValue(Map<K, V>, Object) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
containsValue(Map<K, V>, Object) - Static method in class com.sun.btrace.BTraceUtils
 
contextClassLoader() - Static method in class com.sun.btrace.BTraceUtils
Returns the current context class loader
contextClassLoader() - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns the current context class loader
copy(Map<K, V>, Map<K, V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
copy(Collection<V>, Collection<V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
createTask(int) - Method in class com.sun.btrace.api.BTraceEngine
Abstract factory method for BTraceTask instances
currentThread() - Static method in class com.sun.btrace.BTraceUtils
Returns a reference to the currently executing thread object.
currentThread() - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns a reference to the currently executing thread object.
currentThreadCpuTime() - Static method in class com.sun.btrace.BTraceUtils
Returns the total CPU time for the current thread in nanoseconds.
currentThreadCpuTime() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the total CPU time for the current thread in nanoseconds.
currentThreadUserTime() - Static method in class com.sun.btrace.BTraceUtils
Returns the CPU time that the current thread has executed in user mode in nanoseconds.
currentThreadUserTime() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the CPU time that the current thread has executed in user mode in nanoseconds.

D

daemonThreadCount() - Static method in class com.sun.btrace.BTraceUtils
Returns the current number of live daemon threads.
daemonThreadCount() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the current number of live daemon threads.
deadlocks() - Static method in class com.sun.btrace.BTraceUtils
Prints the Java level deadlocks detected (if any).
deadlocks(boolean) - Static method in class com.sun.btrace.BTraceUtils
Prints deadlocks detected (if any).
deadlocks() - Static method in class com.sun.btrace.BTraceUtils.Threads
Prints the Java level deadlocks detected (if any).
deadlocks(boolean) - Static method in class com.sun.btrace.BTraceUtils.Threads
Prints deadlocks detected (if any).
declaringClass(Field) - Static method in class com.sun.btrace.BTraceUtils
Returns the Class object representing the class or interface that declares the field represented by the given Field object.
declaringClass(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns the Class object representing the class or interface that declares the field represented by the given Field object.
decrementAndGet(AtomicInteger) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically decrements by one the current value of given AtomicInteger.
decrementAndGet(AtomicLong) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically decrements by one the current value.
decrementAndGet(AtomicInteger) - Static method in class com.sun.btrace.BTraceUtils
Atomically decrements by one the current value of given AtomicInteger.
decrementAndGet(AtomicLong) - Static method in class com.sun.btrace.BTraceUtils
Atomically decrements by one the current value.
DEFAULT - Static variable in interface com.sun.btrace.spi.OutputProvider
 
DEFAULT_PORT - Static variable in interface com.sun.btrace.spi.PortLocator
 
deref(Reference) - Static method in class com.sun.btrace.BTraceUtils
Returns the given reference object's referent.
deref(Reference) - Static method in class com.sun.btrace.BTraceUtils.References
Returns the given reference object's referent.
discard(int) - Static method in class com.sun.btrace.BTraceUtils
Discards the speculative buffer associated with id.
discard(int) - Static method in class com.sun.btrace.BTraceUtils.Speculation
Discards the speculative buffer associated with id.
DTrace - Annotation Type in com.sun.btrace.annotations
Annotation for BTrace program to associate a D-script with it.
dtraceProbe(String, String) - Static method in class com.sun.btrace.BTraceUtils
BTrace to DTrace communication chennal.
dtraceProbe(String, String, int) - Static method in class com.sun.btrace.BTraceUtils
BTrace to DTrace communication chennal.
dtraceProbe(String, String, int, int) - Static method in class com.sun.btrace.BTraceUtils
BTrace to DTrace communication channel.
DTraceRef - Annotation Type in com.sun.btrace.annotations
Annotation for BTrace program to associate a D-script with it.
dumpHeap(String) - Static method in class com.sun.btrace.BTraceUtils
Dump the snapshot of the Java heap to a file in hprof binary format.
dumpHeap(String, boolean) - Static method in class com.sun.btrace.BTraceUtils
Dump the snapshot of the Java heap to a file in hprof binary format.
dumpHeap(String) - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Dump the snapshot of the Java heap to a file in hprof binary format.
dumpHeap(String, boolean) - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Dump the snapshot of the Java heap to a file in hprof binary format.
duplicate() - Method in class com.sun.btrace.Profiler.Record
 
Duration - Annotation Type in com.sun.btrace.annotations
It is used to mark a probe method argument as the receiver of the duration value
Applicable only for OnMethod annotation with Location value of Kind.RETURN or Kind.ERROR

E

EMPTY - Static variable in interface com.sun.btrace.spi.ClasspathProvider
 
endsWith(String, String) - Static method in class com.sun.btrace.BTraceUtils
 
endsWith(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
 
equals(Object) - Method in class com.sun.btrace.aggregation.AggregationKey
 
equals(Object) - Method in class com.sun.btrace.Profiler.Record
 
exit(int) - Static method in class com.sun.btrace.BTraceUtils
Exits the BTrace session -- note that the particular client's tracing session exits and not the observed/traced program!
exit() - Static method in class com.sun.btrace.BTraceUtils
This is same as exit(int) except that the exit code is zero.
exit(int) - Static method in class com.sun.btrace.BTraceUtils.Sys
Exits the BTrace session -- note that the particular client's tracing session exits and not the observed/traced program!
exit() - Static method in class com.sun.btrace.BTraceUtils.Sys
This is same as exit(int) except that the exit code is zero.
exp(double) - Static method in class com.sun.btrace.BTraceUtils
Returns Euler's number e raised to the power of a double value.
exp(double) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns Euler's number e raised to the power of a double value.
Export - Annotation Type in com.sun.btrace.annotations
BTrace fields with this annotation are exposed to out-of-process tools using mechanisms such as jvmstat.

F

field(Class, String, boolean) - Static method in class com.sun.btrace.BTraceUtils
Returns a Field object that reflects the specified declared field of the class or interface represented by the given Class object.
field(Class, String) - Static method in class com.sun.btrace.BTraceUtils
Returns a Field object that reflects the specified declared field of the class or interface represented by the given Class object.
field(String, String, boolean) - Static method in class com.sun.btrace.BTraceUtils
Returns a Field object that reflects the specified declared field of the class or interface represented by the given Class object.
field(String, String) - Static method in class com.sun.btrace.BTraceUtils
Returns a Field object that reflects the specified declared field of the class or interface represented by the given Class object.
field(Class, String, boolean) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns a Field object that reflects the specified declared field of the class or interface represented by the given Class object.
field(Class, String) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns a Field object that reflects the specified declared field of the class or interface represented by the given Class object.
field(String, String, boolean) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns a Field object that reflects the specified declared field of the class or interface represented by the given Class object.
field(String, String) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns a Field object that reflects the specified declared field of the class or interface represented by the given Class object.
finalizationCount() - Static method in class com.sun.btrace.BTraceUtils
Returns the approximate number of objects for which finalization is pending.
finalizationCount() - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns the approximate number of objects for which finalization is pending.
freeMemory() - Static method in class com.sun.btrace.BTraceUtils
Returns the amount of free memory in the Java Virtual Machine.
freeMemory() - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns the amount of free memory in the Java Virtual Machine.

G

gc() - Static method in class com.sun.btrace.BTraceUtils
Runs the garbage collector.
gc() - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Runs the garbage collector.
get(AtomicInteger) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Gets the current value of the given AtomicInteger.
get(AtomicLong) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Gets the current value the given AtomicLong.
get(Map<K, V>, Object) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
get(Field) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of a static reference field.
get(Field, Object) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of an instance reference field.
get(Map<K, V>, Object) - Static method in class com.sun.btrace.BTraceUtils
 
get(AtomicInteger) - Static method in class com.sun.btrace.BTraceUtils
Gets the current value of the given AtomicInteger.
get(AtomicLong) - Static method in class com.sun.btrace.BTraceUtils
Gets the current value the given AtomicLong.
get(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of a static reference field.
get(Field, Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of an instance reference field.
getAgentJarPath() - Method in class com.sun.btrace.api.BTraceCompiler
 
getAgentJarPath() - Method in class com.sun.btrace.spi.BaseBTraceCompiler
 
getAndAdd(AtomicInteger, int) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically adds the given value to the current value.
getAndAdd(AtomicLong, long) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically adds the given value to the current value.
getAndAdd(AtomicInteger, int) - Static method in class com.sun.btrace.BTraceUtils
Atomically adds the given value to the current value.
getAndAdd(AtomicLong, long) - Static method in class com.sun.btrace.BTraceUtils
Atomically adds the given value to the current value.
getAndDecrement(AtomicInteger) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically decrements by one the current value of given AtomicInteger.
getAndDecrement(AtomicLong) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically decrements by one the current value.
getAndDecrement(AtomicInteger) - Static method in class com.sun.btrace.BTraceUtils
Atomically decrements by one the current value of given AtomicInteger.
getAndDecrement(AtomicLong) - Static method in class com.sun.btrace.BTraceUtils
Atomically decrements by one the current value.
getAndIncrement(AtomicInteger) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically increments by one the current value of given AtomicInteger.
getAndIncrement(AtomicLong) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically increments by one the current value.
getAndIncrement(AtomicInteger) - Static method in class com.sun.btrace.BTraceUtils
Atomically increments by one the current value of given AtomicInteger.
getAndIncrement(AtomicLong) - Static method in class com.sun.btrace.BTraceUtils
Atomically increments by one the current value.
getAndSet(AtomicInteger, int) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically sets to the given value and returns the old value.
getAndSet(AtomicLong, long) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically sets to the given value and returns the old value.
getAndSet(AtomicInteger, int) - Static method in class com.sun.btrace.BTraceUtils
Atomically sets to the given value and returns the old value.
getAndSet(AtomicLong, long) - Static method in class com.sun.btrace.BTraceUtils
Atomically sets to the given value and returns the old value.
getBoolean(Field) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of a static boolean field.
getBoolean(Field, Object) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of an instance boolean field.
getBoolean(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of a static boolean field.
getBoolean(Field, Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of an instance boolean field.
getByte(Field) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of a static byte field.
getByte(Field, Object) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of an instance byte field.
getByte(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of a static byte field.
getByte(Field, Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of an instance byte field.
getChar(Field) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of a static char field.
getChar(Field, Object) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of an instance char field.
getChar(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of a static char field.
getChar(Field, Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of an instance char field.
getClassPath() - Method in class com.sun.btrace.api.BTraceTask
 
getClasspath(BTraceTask) - Method in interface com.sun.btrace.spi.ClasspathProvider
 
getClientJarPath() - Method in class com.sun.btrace.api.BTraceCompiler
 
getClientJarPath() - Method in class com.sun.btrace.spi.BaseBTraceCompiler
 
getComponentType(Class) - Static method in class com.sun.btrace.BTraceUtils
returns component type of an array Class.
getComponentType(Class) - Static method in class com.sun.btrace.BTraceUtils.Reflective
returns component type of an array Class.
getCounts() - Method in class com.sun.btrace.aggregation.HistogramData
 
getData() - Method in class com.sun.btrace.aggregation.Aggregation
Returns details of the aggregation in a tabular format which can be serialized across the wire and formatted for display.
getData() - Method in interface com.sun.btrace.aggregation.AggregationValue
 
getDouble(Field) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of a static double field.
getDouble(Field, Object) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of an instance double field.
getDouble(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of a static double field.
getDouble(Field, Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of an instance double field.
getDumpClassPath() - Method in class com.sun.btrace.api.BTraceSettings
 
getElements() - Method in class com.sun.btrace.aggregation.AggregationKey
 
getenv(String) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of the specified environment variable.
getenv() - Static method in class com.sun.btrace.BTraceUtils
Returns an unmodifiable string map view of the current system environment.
getenv(String) - Static method in class com.sun.btrace.BTraceUtils.Sys.Env
Gets the value of the specified environment variable.
getenv() - Static method in class com.sun.btrace.BTraceUtils.Sys.Env
Returns an unmodifiable string map view of the current system environment.
getFloat(Field) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of a static float field.
getFloat(Field, Object) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of an instance float field.
getFloat(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of a static float field.
getFloat(Field, Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of an instance float field.
getInstrClasses() - Method in class com.sun.btrace.api.BTraceTask
The number of classes the task needs to instruments
getInt(Field) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of a static int field.
getInt(Field, Object) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of an instance int field.
getInt(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of a static int field.
getInt(Field, Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of an instance int field.
getKeyData() - Method in class com.sun.btrace.aggregation.Aggregation
Returns a list of the AggregationKeys that belong to this aggregation.
getLong(Field) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of a static long field.
getLong(Field, Object) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of an instance long field.
getLong(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of a static long field.
getLong(Field, Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of an instance long field.
getMBeanValue() - Method in interface com.sun.btrace.Profiler.MBeanValueProvider
 
getMemoryPoolUsage(String) - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns an overview of available memory pools
It is possible to provide a text format the overview will use
getName() - Method in class com.sun.btrace.api.BTraceTask
Returns the name specified in BTrace annotation
getNamedEvents() - Method in class com.sun.btrace.api.BTraceTask
A list of named events
getPid() - Method in class com.sun.btrace.api.BTraceTask
 
getpid() - Static method in class com.sun.btrace.BTraceUtils
Returns the process id of the currently BTrace'd process.
getpid() - Static method in class com.sun.btrace.BTraceUtils.Sys
Returns the process id of the currently BTrace'd process.
getScript() - Method in class com.sun.btrace.api.BTraceTask
Property getter
getSettings() - Method in interface com.sun.btrace.spi.BTraceSettingsProvider
 
getShort(Field) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of a static short field.
getShort(Field, Object) - Static method in class com.sun.btrace.BTraceUtils
Gets the value of an instance short field.
getShort(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of a static short field.
getShort(Field, Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Gets the value of an instance short field.
getStdErr(BTraceTask) - Method in interface com.sun.btrace.spi.OutputProvider
 
getStdOut(BTraceTask) - Method in interface com.sun.btrace.spi.OutputProvider
 
getSuperclass(Class) - Static method in class com.sun.btrace.BTraceUtils
Returns the Class representing the superclass of the entity (class, interface, primitive type or void) represented by the given Class.
getSuperclass(Class) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns the Class representing the superclass of the entity (class, interface, primitive type or void) represented by the given Class.
getTaskPort(BTraceTask) - Method in interface com.sun.btrace.spi.PortLocator
 
getToolsJarPath() - Method in class com.sun.btrace.api.BTraceCompiler
 
getToolsJarPath() - Method in class com.sun.btrace.spi.BaseBTraceCompiler
 
getTotalGcTime() - Static method in class com.sun.btrace.BTraceUtils
Returns the total amount of time spent in GarbageCollection up to this point since the application was started.
getTotalGcTime() - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns the total amount of time spent in GarbageCollection up to this point since the application was started.
getValue() - Method in interface com.sun.btrace.aggregation.AggregationValue
 
getValueForKey(AggregationKey) - Method in class com.sun.btrace.aggregation.Aggregation
Returns a value for the given key if the key has a value associated with it.
getValues() - Method in class com.sun.btrace.aggregation.HistogramData
 

H

hasAnonymousEvents() - Method in class com.sun.btrace.api.BTraceTask
A flag indicating that the task has some anonymous events assigned
hasEvents() - Method in class com.sun.btrace.api.BTraceTask
Flag property getter
hash(Object) - Static method in class com.sun.btrace.BTraceUtils
Returns a hash code value for the object.
hashCode() - Method in class com.sun.btrace.aggregation.AggregationKey
 
hashCode() - Method in class com.sun.btrace.Profiler.Record
 
heapUsage() - Static method in class com.sun.btrace.BTraceUtils
Returns heap memory usage
heapUsage() - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns heap memory usage
HistogramData - Class in com.sun.btrace.aggregation
A wire data structure describing histogram data.
HistogramData(long[], long[]) - Constructor for class com.sun.btrace.aggregation.HistogramData
 
holdsLock(Object) - Static method in class com.sun.btrace.BTraceUtils
Returns true if and only if the current thread holds the monitor lock on the specified object.
holdsLock(Object) - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns true if and only if the current thread holds the monitor lock on the specified object.

I

identityHashCode(Object) - Static method in class com.sun.btrace.BTraceUtils
Returns the same hash code for the given object as would be returned by the default method hashCode(), whether or not the given object's class overrides hashCode().
identityStr(Object) - Static method in class com.sun.btrace.BTraceUtils
Returns identity string of the form class-name@identity-hash
incrementAndGet(AtomicInteger) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically increments by one the current value of given AtomicInteger.
incrementAndGet(AtomicLong) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically increments by one the current value.
incrementAndGet(AtomicInteger) - Static method in class com.sun.btrace.BTraceUtils
Atomically increments by one the current value of given AtomicInteger.
incrementAndGet(AtomicLong) - Static method in class com.sun.btrace.BTraceUtils
Atomically increments by one the current value.
indexOf(String, String) - Static method in class com.sun.btrace.BTraceUtils
 
indexOf(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
 
init(MemoryUsage) - Static method in class com.sun.btrace.BTraceUtils
Returns the amount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management.
init(MemoryUsage) - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns the amount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management.
invocations - Variable in class com.sun.btrace.Profiler.Record
 
isArray(Class) - Static method in class com.sun.btrace.BTraceUtils
Determines if the given Class object represents an array class.
isArray(Class) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Determines if the given Class object represents an array class.
isAssignableFrom(Class<?>, Class<?>) - Static method in class com.sun.btrace.BTraceUtils
Determines if the class or interface represented by the first Class object is either the same as, or is a superclass or superinterface of, the class or interface represented by the second Class parameter.
isAssignableFrom(Class<?>, Class<?>) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Determines if the class or interface represented by the first Class object is either the same as, or is a superclass or superinterface of, the class or interface represented by the second Class parameter.
isBootClassPathSupported() - Static method in class com.sun.btrace.BTraceUtils
Tests if the Java virtual machine supports the boot class path mechanism used by the bootstrap class loader to search for class files.
isBootClassPathSupported() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Tests if the Java virtual machine supports the boot class path mechanism used by the bootstrap class loader to search for class files.
isDebugMode() - Method in class com.sun.btrace.api.BTraceSettings
 
isDumpClasses() - Method in class com.sun.btrace.api.BTraceSettings
 
isEmpty(Map<K, V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
isEmpty(Collection<E>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
isEmpty(Map<K, V>) - Static method in class com.sun.btrace.BTraceUtils
 
isEmpty(Collection<E>) - Static method in class com.sun.btrace.BTraceUtils
 
isInfinite(double) - Static method in class com.sun.btrace.BTraceUtils
Returns true if the specified number is infinitely large in magnitude, false otherwise.
isInfinite(float) - Static method in class com.sun.btrace.BTraceUtils
Returns true if the specified number is infinitely large in magnitude, false otherwise.
isInfinite(double) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns true if the specified number is infinitely large in magnitude, false otherwise.
isInfinite(float) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns true if the specified number is infinitely large in magnitude, false otherwise.
isInstance(Class, Object) - Static method in class com.sun.btrace.BTraceUtils
Determines if the specified Object is assignment-compatible with the object represented by the specified Class.
isInstance(Class, Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Determines if the specified Object is assignment-compatible with the object represented by the specified Class.
isInterface(Class) - Static method in class com.sun.btrace.BTraceUtils
Determines if the specified Class object represents an interface type.
isInterface(Class) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Determines if the specified Class object represents an interface type.
isInteruppted() - Static method in class com.sun.btrace.BTraceUtils
Tests whether this thread has been interrupted.
isInteruppted() - Static method in class com.sun.btrace.BTraceUtils.Threads
Tests whether this thread has been interrupted.
isNaN(double) - Static method in class com.sun.btrace.BTraceUtils
Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.
isNaN(float) - Static method in class com.sun.btrace.BTraceUtils
Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.
isNaN(double) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.
isNaN(float) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.
isPrimitive(Class) - Static method in class com.sun.btrace.BTraceUtils
Returns whether the given Class represent primitive type or not.
isPrimitive(Class) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns whether the given Class represent primitive type or not.
isUnsafe() - Method in class com.sun.btrace.api.BTraceTask
Checks whether the task requires to be run in BTrace Unsafe mode

J

jstack() - Static method in class com.sun.btrace.BTraceUtils
Prints the java stack trace of the current thread.
jstack(int) - Static method in class com.sun.btrace.BTraceUtils
Prints the java stack trace of the current thread.
jstack(Throwable) - Static method in class com.sun.btrace.BTraceUtils
Prints the stack trace of the given exception object.
jstack(Throwable, int) - Static method in class com.sun.btrace.BTraceUtils
Prints the stack trace of the given exception object.
jstack() - Static method in class com.sun.btrace.BTraceUtils.Threads
Prints the java stack trace of the current thread.
jstack(int) - Static method in class com.sun.btrace.BTraceUtils.Threads
Prints the java stack trace of the current thread.
jstack(Throwable) - Static method in class com.sun.btrace.BTraceUtils.Threads
Prints the stack trace of the given exception object.
jstack(Throwable, int) - Static method in class com.sun.btrace.BTraceUtils.Threads
Prints the stack trace of the given exception object.
jstackAll() - Static method in class com.sun.btrace.BTraceUtils
Prints Java stack traces of all the Java threads.
jstackAll(int) - Static method in class com.sun.btrace.BTraceUtils
Prints Java stack traces of all the Java threads.
jstackAll() - Static method in class com.sun.btrace.BTraceUtils.Threads
Prints Java stack traces of all the Java threads.
jstackAll(int) - Static method in class com.sun.btrace.BTraceUtils.Threads
Prints Java stack traces of all the Java threads.
jstackAllStr() - Static method in class com.sun.btrace.BTraceUtils
Returns the stack traces of all Java threads as a String.
jstackAllStr(int) - Static method in class com.sun.btrace.BTraceUtils
Returns atmost given number of frames in stack traces of all threads as a String.
jstackAllStr() - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns the stack traces of all Java threads as a String.
jstackAllStr(int) - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns atmost given number of frames in stack traces of all threads as a String.
jstackStr() - Static method in class com.sun.btrace.BTraceUtils
Returns the stack trace of current thread as a String.
jstackStr(int) - Static method in class com.sun.btrace.BTraceUtils
Returns the stack trace of the current thread as a String but includes atmost the given number of frames.
jstackStr(Throwable) - Static method in class com.sun.btrace.BTraceUtils
Returns the stack trace of given exception object as a String.
jstackStr(Throwable, int) - Static method in class com.sun.btrace.BTraceUtils
Returns stack trace of given exception object as a String.
jstackStr() - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns the stack trace of current thread as a String.
jstackStr(int) - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns the stack trace of the current thread as a String but includes atmost the given number of frames.
jstackStr(Throwable) - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns the stack trace of given exception object as a String.
jstackStr(Throwable, int) - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns stack trace of given exception object as a String.

K

Kind - Enum in com.sun.btrace.annotations
This enum is specified in the Location annotation to specify probe point kind.

L

lastIndexOf(String, String) - Static method in class com.sun.btrace.BTraceUtils
 
lastIndexOf(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
 
lazySet(AtomicInteger, int) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Eventually sets to the given value to the given AtomicInteger.
lazySet(AtomicLong, long) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Eventually sets to the given value to the given AtomicLong.
lazySet(AtomicInteger, int) - Static method in class com.sun.btrace.BTraceUtils
Eventually sets to the given value to the given AtomicInteger.
lazySet(AtomicLong, long) - Static method in class com.sun.btrace.BTraceUtils
Eventually sets to the given value to the given AtomicLong.
length(String) - Static method in class com.sun.btrace.BTraceUtils
Returns the length of the given string.
length(String) - Static method in class com.sun.btrace.BTraceUtils.Strings
Returns the length of the given string.
length(Appendable) - Static method in class com.sun.btrace.BTraceUtils.Strings
Checks the length of an appendable buffer created by BTraceUtils.Strings.newStringBuilder()
libraryPath() - Static method in class com.sun.btrace.BTraceUtils
Returns the Java library path.
libraryPath() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the Java library path.
loader(Class) - Static method in class com.sun.btrace.BTraceUtils
Returns the class loader for the given class.
Location - Annotation Type in com.sun.btrace.annotations
This annotation specifies a particular "location" within a traced/probed java method for BTrace probe specifications.
log(double) - Static method in class com.sun.btrace.BTraceUtils
Returns the natural logarithm (base e) of a double value.
log(double) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns the natural logarithm (base e) of a double value.
log10(double) - Static method in class com.sun.btrace.BTraceUtils
Returns the base 10 logarithm of a double value.
log10(double) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns the base 10 logarithm of a double value.

M

matches(Pattern, String) - Static method in class com.sun.btrace.BTraceUtils
Matches the given (precompiled) regular expression and attempts to match the given input against it.
matches(String, String) - Static method in class com.sun.btrace.BTraceUtils
Compiles the given regular expression and attempts to match the given input against it.
matches(Pattern, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
Matches the given (precompiled) regular expression and attempts to match the given input against it.
matches(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
Compiles the given regular expression and attempts to match the given input against it.
max(MemoryUsage) - Static method in class com.sun.btrace.BTraceUtils
Returns the maximum amount of memory in bytes that can be used for memory management.
max(MemoryUsage) - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns the maximum amount of memory in bytes that can be used for memory management.
maxMemory() - Static method in class com.sun.btrace.BTraceUtils
Returns the maximum amount of memory that the Java virtual machine will attempt to use.
maxMemory() - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns the maximum amount of memory that the Java virtual machine will attempt to use.
millis() - Static method in class com.sun.btrace.BTraceUtils.Time
Returns the current time in milliseconds.

N

name(Thread) - Static method in class com.sun.btrace.BTraceUtils
Returns the name of the given thread.
name(Class) - Static method in class com.sun.btrace.BTraceUtils
Returns the name of the given Class object.
name(Field) - Static method in class com.sun.btrace.BTraceUtils
Returns the name of the Field object.
name(Class) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns the name of the given Class object.
name(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns the name of the Field object.
name(Thread) - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns the name of the given thread.
nanos() - Static method in class com.sun.btrace.BTraceUtils.Time
Returns the current value of the most precise available system timer, in nanoseconds.
newAggregation(AggregationFunction) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
Creates a new aggregation based on the given aggregation function type.
newAggregation(AggregationFunction) - Static method in class com.sun.btrace.BTraceUtils
Creates a new aggregation based on the given aggregation function type.
newAggregationKey(Object) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
Creates a grouping aggregation key with the provided value.
newAggregationKey(Object, Object) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
Creates a composite grouping aggregation key with the provided values.
newAggregationKey(Object, Object, Object) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
Creates a composite grouping aggregation key with the provided values.
newAggregationKey(Object, Object, Object, Object) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
Creates a composite grouping aggregation key with the provided values.
newAggregationKey(Object) - Static method in class com.sun.btrace.BTraceUtils
Creates a grouping aggregation key with the provided value.
newAggregationKey(Object, Object) - Static method in class com.sun.btrace.BTraceUtils
Creates a composite grouping aggregation key with the provided values.
newAggregationKey(Object, Object, Object) - Static method in class com.sun.btrace.BTraceUtils
Creates a composite grouping aggregation key with the provided values.
newAggregationKey(Object, Object, Object, Object) - Static method in class com.sun.btrace.BTraceUtils
Creates a composite grouping aggregation key with the provided values.
newAtomicInteger(int) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Creates a new AtomicInteger with the given initial value.
newAtomicInteger(int) - Static method in class com.sun.btrace.BTraceUtils
Creates a new AtomicInteger with the given initial value.
newAtomicLong(long) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Creates a new AtomicLong with the given initial value.
newAtomicLong(long) - Static method in class com.sun.btrace.BTraceUtils
Creates a new AtomicLong with the given initial value.
newCompiler(BTraceTask) - Method in interface com.sun.btrace.spi.BTraceCompilerFactory
 
newDeque() - Static method in class com.sun.btrace.BTraceUtils.Collections
 
newDeque() - Static method in class com.sun.btrace.BTraceUtils
 
newHashMap() - Static method in class com.sun.btrace.BTraceUtils.Collections
 
newHashMap() - Static method in class com.sun.btrace.BTraceUtils
Operating on maps
newInstance() - Static method in class com.sun.btrace.api.BTraceEngine
 
newProfiler() - Static method in class com.sun.btrace.BTraceUtils.Profiling
Creates a new Profiler instance
newProfiler(int) - Static method in class com.sun.btrace.BTraceUtils.Profiling
Creates a new Profiler instance with the specified expected count of the distinct methods to be recorded.
newStringBuilder(boolean) - Static method in class com.sun.btrace.BTraceUtils.Strings
Safely creates a new instance of an appendable string buffer
newStringBuilder() - Static method in class com.sun.btrace.BTraceUtils.Strings
Safely creates a new instance of an appendable string buffer
The buffer will not be thread safe.
newValue() - Method in enum com.sun.btrace.aggregation.AggregationFunction
 
newWeakMap() - Static method in class com.sun.btrace.BTraceUtils.Collections
 
newWeakMap() - Static method in class com.sun.btrace.BTraceUtils
 
nonHeapUsage() - Static method in class com.sun.btrace.BTraceUtils
Returns non-heap memory usage
nonHeapUsage() - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns non-heap memory usage

O

onClassInstrumented(String) - Method in class com.sun.btrace.api.BTraceTask.MessageDispatcher
 
OnError - Annotation Type in com.sun.btrace.annotations
BTrace method annotated by this annotation is called when any exception is thrown by any of the BTrace action methods.
onError(Throwable) - Method in class com.sun.btrace.api.BTraceTask.MessageDispatcher
 
OnEvent - Annotation Type in com.sun.btrace.annotations
BTrace methods annotated by this annotation are called when BTrace client sends "event" command.
OnExit - Annotation Type in com.sun.btrace.annotations
BTrace method annotated by this annotation is called when BTrace "exit(int)" built-in function is called by some other BTrace action method.
onGrid(String, List<Object[]>) - Method in class com.sun.btrace.api.BTraceTask.MessageDispatcher
 
OnLowMemory - Annotation Type in com.sun.btrace.annotations
BTrace methods annotated by this annotation are called when the traced JVM's specified memory pool exceeds specified threshold size.
OnMethod - Annotation Type in com.sun.btrace.annotations
This annotation specifies a BTrace probe point by specifying a java class (or classes), a method (or methods in it) and a specific location within it.
onNumberMap(String, Map<String, ? extends Number>) - Method in class com.sun.btrace.api.BTraceTask.MessageDispatcher
 
onNumberMessage(String, Number) - Method in class com.sun.btrace.api.BTraceTask.MessageDispatcher
 
onPrintMessage(String) - Method in class com.sun.btrace.api.BTraceTask.MessageDispatcher
 
OnProbe - Annotation Type in com.sun.btrace.annotations
This annotation is used to specify a BTrace probe point in an abstract fashion instead of specifying the class and the method names.
onStack - Variable in class com.sun.btrace.Profiler.Record
 
onStringMap(String, Map<String, String>) - Method in class com.sun.btrace.api.BTraceTask.MessageDispatcher
 
OnTimer - Annotation Type in com.sun.btrace.annotations
BTrace methods annotated by this annotation are called when a timer reaches the specified period value.
OutputProvider - Interface in com.sun.btrace.spi
 

P

parentLoader(ClassLoader) - Static method in class com.sun.btrace.BTraceUtils
Returns the parent class loader of the given loader.
parseBoolean(String) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Parses the string argument as a boolean.
parseBoolean(String) - Static method in class com.sun.btrace.BTraceUtils
Parses the string argument as a boolean.
parseByte(String) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Parses the string argument as a signed decimal byte.
parseByte(String) - Static method in class com.sun.btrace.BTraceUtils
Parses the string argument as a signed decimal byte.
parseDouble(String) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a new double initialized to the value represented by the specified String, as performed by the valueOf methcod of class Double.
parseDouble(String) - Static method in class com.sun.btrace.BTraceUtils
Returns a new double initialized to the value represented by the specified String, as performed by the valueOf methcod of class Double.
parseFloat(String) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a new float initialized to the value represented by the specified String, as performed by the valueOf method of class Float.
parseFloat(String) - Static method in class com.sun.btrace.BTraceUtils
Returns a new float initialized to the value represented by the specified String, as performed by the valueOf method of class Float.
parseInt(String) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Parses the string argument as a signed decimal integer.
parseInt(String) - Static method in class com.sun.btrace.BTraceUtils
Parses the string argument as a signed decimal integer.
parseLong(String) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Parses the string argument as a signed decimal long.
parseLong(String) - Static method in class com.sun.btrace.BTraceUtils
Parses the string argument as a signed decimal long.
parseShort(String) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Parses the string argument as a signed decimal short.
parseShort(String) - Static method in class com.sun.btrace.BTraceUtils
Parses the string argument as a signed decimal short.
pattern(String) - Static method in class com.sun.btrace.BTraceUtils
This is synonym for "regexp".
pattern(String, int) - Static method in class com.sun.btrace.BTraceUtils
This is synonym for "regexp".
pattern(String) - Static method in class com.sun.btrace.BTraceUtils.Strings
This is synonym for "regexp".
pattern(String, int) - Static method in class com.sun.btrace.BTraceUtils.Strings
This is synonym for "regexp".
peakThreadCount() - Static method in class com.sun.btrace.BTraceUtils
Returns the peak live thread count since the Java virtual machine started or peak was reset.
peakThreadCount() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the peak live thread count since the Java virtual machine started or peak was reset.
peek(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
peek(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils
 
peekFirst(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
peekFirst(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils
 
peekLast(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
peekLast(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils
 
perfInt(String) - Static method in class com.sun.btrace.BTraceUtils.Counters
accessing jvmstat (perf) int counter
perfInt(String) - Static method in class com.sun.btrace.BTraceUtils
accessing jvmstat (perf) int counter
perfLong(String) - Static method in class com.sun.btrace.BTraceUtils.Counters
accessing jvmstat (perf) long counter
perfLong(String) - Static method in class com.sun.btrace.BTraceUtils
accessing jvmstat (perf) long counter
perfString(String) - Static method in class com.sun.btrace.BTraceUtils.Counters
accessing jvmstat (perf) String counter
perfString(String) - Static method in class com.sun.btrace.BTraceUtils
accessing jvmstat (perf) String counter
poll(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
poll(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils
 
PORT_PROPERTY - Static variable in interface com.sun.btrace.spi.PortLocator
 
PortLocator - Interface in com.sun.btrace.spi
 
print(PrintWriter) - Method in class com.sun.btrace.aggregation.HistogramData
 
print(Object) - Static method in class com.sun.btrace.BTraceUtils
 
print(boolean) - Static method in class com.sun.btrace.BTraceUtils
Prints a boolean value.
print(char) - Static method in class com.sun.btrace.BTraceUtils
Prints a character.
print(int) - Static method in class com.sun.btrace.BTraceUtils
Prints an integer.
print(long) - Static method in class com.sun.btrace.BTraceUtils
Prints a long integer.
print(float) - Static method in class com.sun.btrace.BTraceUtils
Prints a floating-point number.
print(double) - Static method in class com.sun.btrace.BTraceUtils
Prints a double-precision floating-point number.
printAggregation(String, Aggregation) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
 
printAggregation(String, Aggregation, String) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
 
printAggregation(String, String, Collection<Aggregation>) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
 
printAggregation(String, Aggregation) - Static method in class com.sun.btrace.BTraceUtils
Prints the aggregation.
printAggregation(String, Aggregation, String) - Static method in class com.sun.btrace.BTraceUtils
Prints aggregation using the provided format
printArray(Object[]) - Static method in class com.sun.btrace.BTraceUtils
Prints the elements of the given array as comma separated line bounded by '[' and ']'.
printEnv() - Static method in class com.sun.btrace.BTraceUtils
Prints all system environment values.
printEnv() - Static method in class com.sun.btrace.BTraceUtils.Sys.Env
Prints all system environment values.
printFields(Object) - Static method in class com.sun.btrace.BTraceUtils
Print all instance fields of an object as name-value pairs.
printFields(Object, boolean) - Static method in class com.sun.btrace.BTraceUtils
Print all instance fields of an object as name-value pairs.
printFields(Object) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Print all instance fields of an object as name-value pairs.
printFields(Object, boolean) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Print all instance fields of an object as name-value pairs.
println(Object) - Static method in class com.sun.btrace.BTraceUtils
Prints the given object and then prints a newline
println(boolean) - Static method in class com.sun.btrace.BTraceUtils
Prints a boolean and then terminate the line.
println(char) - Static method in class com.sun.btrace.BTraceUtils
Prints a character and then terminate the line.
println(int) - Static method in class com.sun.btrace.BTraceUtils
Prints an integer and then terminate the line.
println(long) - Static method in class com.sun.btrace.BTraceUtils
Prints a long and then terminate the line.
println(float) - Static method in class com.sun.btrace.BTraceUtils
Prints a float and then terminate the line.
println(double) - Static method in class com.sun.btrace.BTraceUtils
Prints a double and then terminate the line.
println() - Static method in class com.sun.btrace.BTraceUtils
Terminates the current line by writing the line separator string.
printMap(Map) - Static method in class com.sun.btrace.BTraceUtils
Prints the given Map.
printNumber(String, Number) - Static method in class com.sun.btrace.BTraceUtils
Prints a number.
printNumberMap(String, Map<String, ? extends Number>) - Static method in class com.sun.btrace.BTraceUtils
Prints the given Map.
printProperties() - Static method in class com.sun.btrace.BTraceUtils
Prints all Sys properties.
printProperties() - Static method in class com.sun.btrace.BTraceUtils.Sys.Env
Prints all Sys properties.
printSnapshot(String, Profiler) - Static method in class com.sun.btrace.BTraceUtils.Profiling
 
printSnapshot(String, Profiler, String) - Static method in class com.sun.btrace.BTraceUtils.Profiling
 
printStaticFields(Class) - Static method in class com.sun.btrace.BTraceUtils
Print all static fields of the class as name-value pairs.
printStaticFields(Class, boolean) - Static method in class com.sun.btrace.BTraceUtils
Print all static fields of the class as name-value pairs.
printStaticFields(Class) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Print all static fields of the class as name-value pairs.
printStaticFields(Class, boolean) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Print all static fields of the class as name-value pairs.
printStringMap(String, Map<String, String>) - Static method in class com.sun.btrace.BTraceUtils
Prints the given Map.
printVmArguments() - Static method in class com.sun.btrace.BTraceUtils
Prints VM input arguments list.
printVmArguments() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Prints VM input arguments list.
probe(String, String) - Static method in class com.sun.btrace.BTraceUtils.D
BTrace to DTrace communication chennal.
probe(String, String, int) - Static method in class com.sun.btrace.BTraceUtils.D
BTrace to DTrace communication chennal.
probe(String, String, int, int) - Static method in class com.sun.btrace.BTraceUtils.D
BTrace to DTrace communication channel.
probeClass() - Static method in class com.sun.btrace.BTraceUtils
Deprecated.
Since 1.1. Use ProbeClassName and Self annotations instead
ProbeClassName - Annotation Type in com.sun.btrace.annotations
It is used to mark a probe method argument as the receiver of the probe target class name
Applicable only for OnMethod annotation
probeLine() - Static method in class com.sun.btrace.BTraceUtils
Returns the currently probed source line number (if available).
probeMethod() - Static method in class com.sun.btrace.BTraceUtils
Deprecated.
Since 1.1. Use ProbeMethodName annotation instead
ProbeMethodName - Annotation Type in com.sun.btrace.annotations
It is used to mark a probe method argument as the receiver of the probe target class name
Applicable only for OnMethod annotation
Profiler - Class in com.sun.btrace
Profiler is a highly specialized aggregation-like data collector optimized for high-speed collection of the application execution call tree data.
Profiler() - Constructor for class com.sun.btrace.Profiler
Creates a new Profiler instance
Profiler.MBeanValueProvider - Interface in com.sun.btrace
Helper interface to make accessing a Profiler as an MBean type safe.
Profiler.Record - Class in com.sun.btrace
Record represents an atomic unit in the application execution call tree
Profiler.Record(String) - Constructor for class com.sun.btrace.Profiler.Record
 
Profiler.Snapshot - Class in com.sun.btrace
Snapshot is an immutable image of the current profiling data collected by the Profiler

It is created by calling Profiler.snapshot() method
Profiler.Snapshot(Profiler.Record[], long, long) - Constructor for class com.sun.btrace.Profiler.Snapshot
 
properties() - Static method in class com.sun.btrace.BTraceUtils
Returns all Sys properties.
properties() - Static method in class com.sun.btrace.BTraceUtils.Sys.Env
Returns all Sys properties.
Property - Annotation Type in com.sun.btrace.annotations
BTrace fields with this annotation are exposed as attributes of the dynamic JMX bean that wraps the BTrace class.
property(String) - Static method in class com.sun.btrace.BTraceUtils
Gets the system property indicated by the specified key.
property(String) - Static method in class com.sun.btrace.BTraceUtils.Sys.Env
Gets the system property indicated by the specified key.
push(Deque<V>, V) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
push(Deque<V>, V) - Static method in class com.sun.btrace.BTraceUtils
 
put(Map<K, V>, K, V) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
put(Map<K, V>, K, V) - Static method in class com.sun.btrace.BTraceUtils
 
putAll(Map<K, V>, Map<K, V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 

R

random() - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0.
random() - Static method in class com.sun.btrace.BTraceUtils
Returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0.
recordEntry(Profiler, String) - Static method in class com.sun.btrace.BTraceUtils.Profiling
Records the entry to a particular code block
recordEntry(String) - Method in class com.sun.btrace.Profiler
Records the event of entering an execution unit (eg. method)
Must be paired with a call to Profiler.recordExit(java.lang.String, long) with the same blockName, eventually
recordExit(Profiler, String, long) - Static method in class com.sun.btrace.BTraceUtils.Profiling
Records the exit out of a particular code block
recordExit(String, long) - Method in class com.sun.btrace.Profiler
Records the event of exiting an execution unit (eg. method)
Must be preceded by a call to Profiler.recordEntry(java.lang.String) with the same blockName
regexp(String) - Static method in class com.sun.btrace.BTraceUtils
Compiles the given regular expression into a pattern.
regexp(String, int) - Static method in class com.sun.btrace.BTraceUtils
Compiles the given regular expression into a pattern with the given flags.
regexp(String) - Static method in class com.sun.btrace.BTraceUtils.Strings
Compiles the given regular expression into a pattern.
regexp(String, int) - Static method in class com.sun.btrace.BTraceUtils.Strings
Compiles the given regular expression into a pattern with the given flags.
remove(Map<K, V>, Object) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
remove(Map<K, V>, Object) - Static method in class com.sun.btrace.BTraceUtils
 
removeFirst(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
removeFirst(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils
 
removeLast(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
removeLast(Deque<V>) - Static method in class com.sun.btrace.BTraceUtils
 
removeMessageDispatcher(BTraceTask.MessageDispatcher) - Method in class com.sun.btrace.api.BTraceTask
 
removeStateListener(BTraceTask.StateListener) - Method in class com.sun.btrace.api.BTraceTask
Listener management
reset(Profiler) - Static method in class com.sun.btrace.BTraceUtils.Profiling
 
reset() - Method in class com.sun.btrace.Profiler
Resets all the collected data
Return - Annotation Type in com.sun.btrace.annotations
Marks a method parameter as the one that should contain the return value
runFinalization() - Static method in class com.sun.btrace.BTraceUtils
Runs the finalization methods of any objects pending finalization.
runFinalization() - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Runs the finalization methods of any objects pending finalization.

S

Self - Annotation Type in com.sun.btrace.annotations
Marks a method parameter as the one that should contain *this* instance
selfTime - Variable in class com.sun.btrace.Profiler.Record
 
selfTimeMax - Variable in class com.sun.btrace.Profiler.Record
 
selfTimeMin - Variable in class com.sun.btrace.Profiler.Record
 
sendEvent(String) - Method in class com.sun.btrace.api.BTraceTask
Sends a named event to the script server side
sendEvent() - Method in class com.sun.btrace.api.BTraceTask
Sends an anonymous event to the script server side
serialize(Serializable, String) - Static method in class com.sun.btrace.BTraceUtils.Export
Serialize a given object into the given file.
serialize(Serializable, String) - Static method in class com.sun.btrace.BTraceUtils
Serialize a given object into the given file.
set(AtomicInteger, int) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Sets to the given value to the given AtomicInteger.
set(AtomicLong, long) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Sets to the given value.
set(AtomicInteger, int) - Static method in class com.sun.btrace.BTraceUtils
Sets to the given value to the given AtomicInteger.
set(AtomicLong, long) - Static method in class com.sun.btrace.BTraceUtils
Sets to the given value.
setScript(String) - Method in class com.sun.btrace.api.BTraceTask
Property setter
size(Map<K, V>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
size(Collection<E>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
size(Map<K, V>) - Static method in class com.sun.btrace.BTraceUtils
 
size(Collection<E>) - Static method in class com.sun.btrace.BTraceUtils
 
sizeof(Object) - Static method in class com.sun.btrace.BTraceUtils
Returns an implementation-specific approximation of the amount of storage consumed by the specified object.
snapshot(Profiler) - Static method in class com.sun.btrace.BTraceUtils.Profiling
Creates a new snapshot of the profiling metrics collected sofar
snapshot() - Method in class com.sun.btrace.Profiler
Creates an immutable snapshot of the collected profiling data
snapshot(boolean) - Method in class com.sun.btrace.Profiler
Creates an immutable snapshot of the collected profiling data.
snapshotAndReset(Profiler) - Static method in class com.sun.btrace.BTraceUtils.Profiling
 
softRef(Object) - Static method in class com.sun.btrace.BTraceUtils.References
Creates and returns a soft reference to the given object.
softRef(Object) - Static method in class com.sun.btrace.BTraceUtils
Creates and returns a soft reference to the given object.
speculate(int) - Static method in class com.sun.btrace.BTraceUtils
Sets current speculative buffer id.
speculate(int) - Static method in class com.sun.btrace.BTraceUtils.Speculation
Sets current speculative buffer id.
speculation() - Static method in class com.sun.btrace.BTraceUtils
Returns an identifier for a new speculative buffer.
speculation() - Static method in class com.sun.btrace.BTraceUtils.Speculation
Returns an identifier for a new speculative buffer.
start() - Method in class com.sun.btrace.api.BTraceTask
Starts the injected code
START_TIME - Variable in class com.sun.btrace.Profiler
This property exposes the time of creating this particular Profiler instance.
startsWith(String, String) - Static method in class com.sun.btrace.BTraceUtils
 
startsWith(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
 
stateChanged(BTraceTask.State) - Method in interface com.sun.btrace.api.BTraceTask.StateListener
Called upon state change
stop() - Method in class com.sun.btrace.api.BTraceTask
Stops the injected code
str(Object) - Static method in class com.sun.btrace.BTraceUtils
Returns a string representation of the object.
str(boolean) - Static method in class com.sun.btrace.BTraceUtils
Returns a String object representing the specified boolean.
str(char) - Static method in class com.sun.btrace.BTraceUtils
Returns a String object representing the specified char.
str(int) - Static method in class com.sun.btrace.BTraceUtils
Returns a String object representing the specified integer.
str(long) - Static method in class com.sun.btrace.BTraceUtils
Returns a String object representing the specified long.
str(float) - Static method in class com.sun.btrace.BTraceUtils
Returns a string representation of the float argument.
str(double) - Static method in class com.sun.btrace.BTraceUtils
Returns a string representation of the double argument.
str(boolean) - Static method in class com.sun.btrace.BTraceUtils.Strings
Returns a String object representing the specified boolean.
str(char) - Static method in class com.sun.btrace.BTraceUtils.Strings
Returns a String object representing the specified char.
str(int) - Static method in class com.sun.btrace.BTraceUtils.Strings
Returns a String object representing the specified integer.
str(long) - Static method in class com.sun.btrace.BTraceUtils.Strings
Returns a String object representing the specified long.
str(Object) - Static method in class com.sun.btrace.BTraceUtils.Strings
Returns a string representation of the object.
str(float) - Static method in class com.sun.btrace.BTraceUtils.Strings
Returns a string representation of the float argument.
str(double) - Static method in class com.sun.btrace.BTraceUtils.Strings
Returns a string representation of the double argument.
strcat(String, String) - Static method in class com.sun.btrace.BTraceUtils
This is synonym to "concat".
strcat(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
This is synonym to "concat".
strcmp(String, String) - Static method in class com.sun.btrace.BTraceUtils
This is synonym to "compareTo" method.
strcmp(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
This is synonym to "compareTo" method.
stricmp(String, String) - Static method in class com.sun.btrace.BTraceUtils
This is synonym to "compareToIgnoreCase".
stricmp(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
This is synonym to "compareToIgnoreCase".
strlen(String) - Static method in class com.sun.btrace.BTraceUtils.Strings
This is synonym for "length".
strlen(String) - Static method in class com.sun.btrace.BTraceUtils
This is synonym for "length".
strstr(String, String) - Static method in class com.sun.btrace.BTraceUtils.Strings
Find String within String
strstr(String, String) - Static method in class com.sun.btrace.BTraceUtils
Find String within String
substr(String, int, int) - Static method in class com.sun.btrace.BTraceUtils.Strings
Substring
substr(String, int) - Static method in class com.sun.btrace.BTraceUtils.Strings
 
substr(String, int, int) - Static method in class com.sun.btrace.BTraceUtils
Substring
substr(String, int) - Static method in class com.sun.btrace.BTraceUtils
 

T

TargetInstance - Annotation Type in com.sun.btrace.annotations
It is used to mark a probe method argument as the receiver of called instance in Location = Kind.CALL
TargetMethodOrField - Annotation Type in com.sun.btrace.annotations
It is used to mark a probe method argument as the receiver of called method name in Location = Kind.CALL
threadCount() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the current number of live threads including both daemon and non-daemon threads.
threadCount() - Static method in class com.sun.btrace.BTraceUtils
Returns the current number of live threads including both daemon and non-daemon threads.
threadId(Thread) - Static method in class com.sun.btrace.BTraceUtils
Returns the identifier of the given Thread.
threadId(Thread) - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns the identifier of the given Thread.
threadId - Variable in class com.sun.btrace.Profiler.Record
 
threadState(Thread) - Static method in class com.sun.btrace.BTraceUtils.Threads
Returns the state of the given thread.
threadState(Thread) - Static method in class com.sun.btrace.BTraceUtils
Returns the state of the given thread.
timeInterval - Variable in class com.sun.btrace.Profiler.Snapshot
 
timeMillis() - Static method in class com.sun.btrace.BTraceUtils
Returns the current time in milliseconds.
timeNanos() - Static method in class com.sun.btrace.BTraceUtils
Returns the current value of the most precise available system timer, in nanoseconds.
timestamp(String) - Static method in class com.sun.btrace.BTraceUtils.Time
Generates a string timestamp (current date&time)
timestamp() - Static method in class com.sun.btrace.BTraceUtils.Time
Generates a string timestamp (current date&time) in the default system format
timestamp(String) - Static method in class com.sun.btrace.BTraceUtils
Generates a string getTimestamp (current date&time)
timestamp() - Static method in class com.sun.btrace.BTraceUtils
Generates a string getTimestamp (current date&time) in the default system format
timeStamp - Variable in class com.sun.btrace.Profiler.Snapshot
 
TLS - Annotation Type in com.sun.btrace.annotations
Annotation for thread-local BTrace fields.
toArray(Collection<E>) - Static method in class com.sun.btrace.BTraceUtils.Collections
 
toHexString(int) - Static method in class com.sun.btrace.BTraceUtils.Strings
Returns a string representation of the integer argument as an unsigned integer in base 16.
toHexString(long) - Static method in class com.sun.btrace.BTraceUtils.Strings
Returns a string representation of the long argument as an unsigned integer in base 16.
toHexString(int) - Static method in class com.sun.btrace.BTraceUtils
Returns a string representation of the integer argument as an unsigned integer in base 16.
toHexString(long) - Static method in class com.sun.btrace.BTraceUtils
Returns a string representation of the long argument as an unsigned integer in base 16.
toString() - Method in class com.sun.btrace.Profiler.Record
 
total - Variable in class com.sun.btrace.Profiler.Snapshot
 
totalMemory() - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns the total amount of memory in the Java virtual machine.
totalMemory() - Static method in class com.sun.btrace.BTraceUtils
Returns the total amount of memory in the Java virtual machine.
totalStartedThreadCount() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the total number of threads created and also started since the Java virtual machine started.
totalStartedThreadCount() - Static method in class com.sun.btrace.BTraceUtils
Returns the total number of threads created and also started since the Java virtual machine started.
toXML(Object) - Static method in class com.sun.btrace.BTraceUtils.Export
Creates an XML document to persist the tree of the all transitively reachable objects from given "root" object.
toXML(Object) - Static method in class com.sun.btrace.BTraceUtils
Creates an XML document to persist the tree of the all transitively reachable objects from given "root" object.
truncate(int) - Method in class com.sun.btrace.aggregation.Aggregation
Reduces the size of the aggregation to the absolute value of count.
truncateAggregation(Aggregation, int) - Static method in class com.sun.btrace.BTraceUtils.Aggregations
Removes all aggregated values from the aggregation except for the largest or smallest abs(count) elements.
truncateAggregation(Aggregation, int) - Static method in class com.sun.btrace.BTraceUtils
Removes all aggregated values from the aggregation except for the largest or smallest abs(count) elements.
type(Field) - Static method in class com.sun.btrace.BTraceUtils.Reflective
Returns the type of the Field object.
type(Field) - Static method in class com.sun.btrace.BTraceUtils
Returns the type of the Field object.

U

unbox(Boolean) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns the value of the given Boolean object as a boolean primitive.
unbox(Character) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns the value of the given Character object as a char primitive.
unbox(Byte) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns the value of the specified Byte as a byte.
unbox(Short) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns the short value represented by Short.
unbox(Integer) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns the value of represented by Integer.
unbox(Long) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns the long value represented by the specified Long.
unbox(Float) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns the float value represented by the specified Float.
unbox(Double) - Static method in class com.sun.btrace.BTraceUtils.Numbers
Returns the double value represented by the specified Double.
unbox(Boolean) - Static method in class com.sun.btrace.BTraceUtils
Returns the value of the given Boolean object as a boolean primitive.
unbox(Character) - Static method in class com.sun.btrace.BTraceUtils
Returns the value of the given Character object as a char primitive.
unbox(Byte) - Static method in class com.sun.btrace.BTraceUtils
Returns the value of the specified Byte as a byte.
unbox(Short) - Static method in class com.sun.btrace.BTraceUtils
Returns the short value represented by Short.
unbox(Integer) - Static method in class com.sun.btrace.BTraceUtils
Returns the value of represented by Integer.
unbox(Long) - Static method in class com.sun.btrace.BTraceUtils
Returns the long value represented by the specified Long.
unbox(Float) - Static method in class com.sun.btrace.BTraceUtils
Returns the float value represented by the specified Float.
unbox(Double) - Static method in class com.sun.btrace.BTraceUtils
Returns the double value represented by the specified Double.
used(MemoryUsage) - Static method in class com.sun.btrace.BTraceUtils.Sys.Memory
Returns the amount of used memory in bytes.
used(MemoryUsage) - Static method in class com.sun.btrace.BTraceUtils
Returns the amount of used memory in bytes.

V

valueOf(String) - Static method in enum com.sun.btrace.aggregation.AggregationFunction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.btrace.annotations.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.btrace.annotations.Where
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.btrace.api.BTraceTask.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sun.btrace.aggregation.AggregationFunction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.btrace.annotations.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.btrace.annotations.Where
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.btrace.api.BTraceTask.State
Returns an array containing the constants of this enum type, in the order they are declared.
vmArguments() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the input arguments passed to the Java virtual machine which does not include the arguments to the main method.
vmArguments() - Static method in class com.sun.btrace.BTraceUtils
Returns the input arguments passed to the Java virtual machine which does not include the arguments to the main method.
vmStartTime() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the start time of the Java virtual machine in milliseconds.
vmStartTime() - Static method in class com.sun.btrace.BTraceUtils
Returns the start time of the Java virtual machine in milliseconds.
vmUptime() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the uptime of the Java virtual machine in milliseconds.
vmUptime() - Static method in class com.sun.btrace.BTraceUtils
Returns the uptime of the Java virtual machine in milliseconds.
vmVersion() - Static method in class com.sun.btrace.BTraceUtils.Sys.VM
Returns the Java virtual machine implementation version.
vmVersion() - Static method in class com.sun.btrace.BTraceUtils
Returns the Java virtual machine implementation version.

W

wallTime - Variable in class com.sun.btrace.Profiler.Record
 
wallTimeMax - Variable in class com.sun.btrace.Profiler.Record
 
wallTimeMin - Variable in class com.sun.btrace.Profiler.Record
 
weakCompareAndSet(AtomicInteger, int, int) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically sets the value to the given updated value if the current value == the expected value.
weakCompareAndSet(AtomicLong, long, long) - Static method in class com.sun.btrace.BTraceUtils.Atomic
Atomically sets the value to the given updated value if the current value == the expected value.
weakCompareAndSet(AtomicInteger, int, int) - Static method in class com.sun.btrace.BTraceUtils
Atomically sets the value to the given updated value if the current value == the expected value.
weakCompareAndSet(AtomicLong, long, long) - Static method in class com.sun.btrace.BTraceUtils
Atomically sets the value to the given updated value if the current value == the expected value.
weakRef(Object) - Static method in class com.sun.btrace.BTraceUtils.References
Creates and returns a weak reference to the given object.
weakRef(Object) - Static method in class com.sun.btrace.BTraceUtils
Creates and returns a weak reference to the given object.
Where - Enum in com.sun.btrace.annotations
This enum is specified in the Location annotation to specify whether a probe point is after or before specific point of interest.
writeDOT(Object, String) - Static method in class com.sun.btrace.BTraceUtils.Export
Writes a .dot document to persist the tree of the all the transitively reachable objects from the given "root" object. .dot documents can be viewed by Graphviz application (www.graphviz.org) Under the current dir of traced app, .
writeDOT(Object, String) - Static method in class com.sun.btrace.BTraceUtils
Writes a .dot document to persist the tree of the all the transitively reachable objects from the given "root" object. .dot documents can be viewed by Graphviz application (www.graphviz.org) Under the current dir of traced app, .
writeXML(Object, String) - Static method in class com.sun.btrace.BTraceUtils.Export
Writes an XML document to persist the tree of the all the transitively reachable objects from the given "root" object.
writeXML(Object, String) - Static method in class com.sun.btrace.BTraceUtils
Writes an XML document to persist the tree of the all the transitively reachable objects from the given "root" object.
$ A B C D E F G H I J K L M N O P R S T U V W