Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

absoluteTime() - Static method in class org.terracotta.statistics.Time
Returns a timestamp in milliseconds whose origin is at the Unix Epoch.
absoluteTime() - Method in interface org.terracotta.statistics.Time.TimeSource
 
AbstractOperationStatistic<T extends Enum<T>> - Class in org.terracotta.statistics
 
AbstractSourceStatistic<T extends ChainedObserver> - Class in org.terracotta.statistics
An abstract SourceStatistic that handles derived statistic (de)registration.
AbstractSourceStatistic() - Constructor for class org.terracotta.statistics.AbstractSourceStatistic
 
accept(Object) - Method in class org.terracotta.statistics.archive.DevNull
 
accept(T) - Method in interface org.terracotta.statistics.archive.SampleSink
 
accept(Timestamped<T>) - Method in class org.terracotta.statistics.archive.StatisticArchive
 
active() - Method in class org.terracotta.statistics.extended.RateImpl
 
active() - Method in interface org.terracotta.statistics.extended.SampledStatistic
Active.
active() - Method in class org.terracotta.statistics.extended.SemiExpiringSampledStatistic
 
add(long) - Method in class org.terracotta.statistics.jsr166e.LongAdder
Adds the given value.
addDerivedStatistic(T) - Method in class org.terracotta.statistics.AbstractSourceStatistic
 
addDerivedStatistic(T) - Method in interface org.terracotta.statistics.SourceStatistic
Register the given Observer to be called by this SourceStatistic
allOf(Matcher<? super T>...) - Static method in class org.terracotta.context.query.Matchers
Returns a matcher that matches when against objects which match all of the supplied matchers.
anyOf(Matcher<? super T>...) - Static method in class org.terracotta.context.query.Matchers
Returns a matcher that matches when against objects which match any of the supplied matchers.
asCountOperation() - Method in interface org.terracotta.statistics.extended.CompoundOperation
Count operation.
asCountOperation() - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
 
asCountOperation() - Method in class org.terracotta.statistics.extended.NullCompoundOperation
 
associate(Object) - Static method in class org.terracotta.context.ContextManager
Create an Association instance for the supplied object.
attributes() - Method in interface org.terracotta.context.ContextElement
The set of attributes for the associated Java object.
attributes(Matcher<Map<String, Object>>) - Static method in class org.terracotta.context.query.Matchers
Returns a matcher that matches context elements whose ContextElement.attributes() match against the supplied matcher.
average() - Method in class org.terracotta.statistics.derived.EventParameterSimpleMovingAverage
 
average() - Method in interface org.terracotta.statistics.extended.Latency
Average observed latency.
averageStatistic() - Method in class org.terracotta.statistics.derived.EventParameterSimpleMovingAverage
 

B

begin() - Method in class org.terracotta.statistics.AbstractOperationStatistic
 
begin(long) - Method in class org.terracotta.statistics.derived.LatencySampling
 
begin(long) - Method in class org.terracotta.statistics.derived.OperationResultFilter
 
begin(long) - Method in interface org.terracotta.statistics.observer.ChainedOperationObserver
 
begin() - Method in interface org.terracotta.statistics.observer.OperationObserver
Called immediately prior to the operation beginning.
build() - Method in class org.terracotta.context.query.QueryBuilder
Returns a query that represents the currently assembled transformation.
build() - Method in class org.terracotta.statistics.StatisticBuilder.OperationStatisticBuilder
Builds the.

C

capacity() - Method in class org.terracotta.statistics.archive.CircularBuffer
 
chain(Query) - Method in class org.terracotta.context.query.QueryBuilder
Applies the given query on the currently selected node set.
ChainedEventObserver - Interface in org.terracotta.statistics.observer
Event observers track the occurrence of singular events.
ChainedObserver - Interface in org.terracotta.statistics.observer
The marker interface implemented by all statistic observer classes.
ChainedOperationObserver<T extends Enum<T>> - Interface in org.terracotta.statistics.observer
 
children() - Static method in class org.terracotta.context.query.Queries
Creates a query selecting all children.
children() - Method in class org.terracotta.context.query.QueryBuilder
Selects the union of the current node sets child nodes.
CircularBuffer<E> - Class in org.terracotta.statistics.archive
 
CircularBuffer(int) - Constructor for class org.terracotta.statistics.archive.CircularBuffer
 
clean() - Method in interface org.terracotta.context.WeakIdentityHashMap.Cleanable
 
clear() - Method in class org.terracotta.statistics.archive.StatisticArchive
 
clearRegistrations() - Method in class org.terracotta.context.extended.StatisticsRegistry
 
component(T) - Method in interface org.terracotta.statistics.extended.CompoundOperation
Component.
component(T) - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
 
component(T) - Method in class org.terracotta.statistics.extended.NullCompoundOperation
Component.
compound(Set<T>) - Method in interface org.terracotta.statistics.extended.CompoundOperation
Compound.
compound(Set<T>) - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
 
compound(Set<T>) - Method in class org.terracotta.statistics.extended.NullCompoundOperation
Compound.
CompoundOperation<T extends Enum<T>> - Interface in org.terracotta.statistics.extended
The Interface Operation.
CompoundOperationImpl<T extends Enum<T>> - Class in org.terracotta.statistics.extended
The Class CompoundOperationImpl.
CompoundOperationImpl(OperationStatistic<T>, Class<T>, long, TimeUnit, ScheduledExecutorService, int, long, TimeUnit) - Constructor for class org.terracotta.statistics.extended.CompoundOperationImpl
Instantiates a new compound operation impl.
ConstantValueStatistic<T extends Number> - Class in org.terracotta.statistics
 
context() - Method in interface org.terracotta.context.extended.OperationType
Query that select context nodes for this statistic.
context(Matcher<ContextElement>) - Static method in class org.terracotta.context.query.Matchers
Returns a matcher that matches tree nodes whose TreeNode.getContext() match against the supplied matcher.
ContextAttribute - Annotation Type in org.terracotta.context.annotations
Marks a field, method, or the object itself as a context attribute.
ContextChild - Annotation Type in org.terracotta.context.annotations
Marks this field as referencing a child of this object.
contextCreated(Object) - Method in interface org.terracotta.context.ContextCreationListener
 
ContextCreationListener - Interface in org.terracotta.context
 
ContextElement - Interface in org.terracotta.context
A shadow context associated with a Java object.
ContextListener - Interface in org.terracotta.context
The context graph mutation listener interface.
ContextManager - Class in org.terracotta.context
A ContextManager instances allows for rooting, querying and access to select portions of the global context graph.
ContextManager() - Constructor for class org.terracotta.context.ContextManager
 
ContextManager.Association - Interface in org.terracotta.context
Creates parent and child associations to the target context node.
ContextManager.Dissociation - Interface in org.terracotta.context
Removes existing parent and child associations from the target context node.
ContextParent - Annotation Type in org.terracotta.context.annotations
Marks this field as referencing a parent of this object.
count() - Method in interface org.terracotta.statistics.extended.Result
Count.
count(T) - Method in interface org.terracotta.statistics.OperationStatistic
Return the count of operations with the given type.
CountOperation<T> - Interface in org.terracotta.statistics.extended
 
createOperationStatistic(Object, String, Set<String>, Class<T>) - Static method in class org.terracotta.statistics.StatisticsManager
 
createOperationStatistic(Object, String, Set<String>, Map<String, ? extends Object>, Class<T>) - Static method in class org.terracotta.statistics.StatisticsManager
 
createPassThroughStatistic(Object, String, Set<String>, Callable<T>) - Static method in class org.terracotta.statistics.StatisticsManager
 
createPassThroughStatistic(Object, String, Set<String>, Map<String, ? extends Object>, Callable<T>) - Static method in class org.terracotta.statistics.StatisticsManager
 
createReference(K, ReferenceQueue<? super K>) - Method in class org.terracotta.context.WeakIdentityHashMap
 
current() - Static method in class org.terracotta.statistics.jsr166e.ThreadLocalRandom
Returns the current thread's ThreadLocalRandom.

D

decrement() - Method in class org.terracotta.statistics.jsr166e.LongAdder
Equivalent to add(-1).
deregisterContextCreationListener(ContextCreationListener) - Static method in class org.terracotta.context.ContextManager
 
deregisterContextListener(ContextListener) - Method in class org.terracotta.context.ContextManager
Removes a previously registered listener from the listener set.
derivedStatistics - Variable in class org.terracotta.statistics.AbstractSourceStatistic
 
descendants() - Static method in class org.terracotta.context.query.Queries
Creates a query selecting all descendants.
descendants() - Method in class org.terracotta.context.query.QueryBuilder
Selects the merged descendant set of the current node set.
DEV_NULL - Static variable in class org.terracotta.statistics.archive.DevNull
 
DevNull - Class in org.terracotta.statistics.archive
 
dissociate(Object) - Static method in class org.terracotta.context.ContextManager
Create a Dissociation instance for the supplied object.
doubleValue() - Method in class org.terracotta.statistics.jsr166e.LongAdder
Returns the LongAdder.sum() as a double after a widening primitive conversion.
doubleValue() - Method in class org.terracotta.statistics.jsr166e.LongMaxUpdater
Returns the LongMaxUpdater.max() as a double after a widening primitive conversion.

E

empty() - Method in class org.terracotta.context.query.QueryBuilder
Selects an empty node set.
end(long, T) - Method in class org.terracotta.statistics.derived.LatencySampling
 
end(long, T, long...) - Method in class org.terracotta.statistics.derived.LatencySampling
 
end(long, T) - Method in class org.terracotta.statistics.derived.OperationResultFilter
 
end(long, T, long...) - Method in class org.terracotta.statistics.derived.OperationResultFilter
 
end(long, T) - Method in interface org.terracotta.statistics.observer.ChainedOperationObserver
 
end(long, T, long...) - Method in interface org.terracotta.statistics.observer.ChainedOperationObserver
 
end(T) - Method in interface org.terracotta.statistics.observer.OperationObserver
Called immediately after the operation completes with no interesting parameters.
end(T, long...) - Method in interface org.terracotta.statistics.observer.OperationObserver
Called immediately after the operation completes.
ensureUnique() - Method in class org.terracotta.context.query.QueryBuilder
Asserts that the current node set is a singleton.
event(long, long...) - Method in class org.terracotta.statistics.derived.EventParameterSimpleMovingAverage
 
event(long, long...) - Method in class org.terracotta.statistics.derived.EventRateSimpleMovingAverage
 
event(long, long...) - Method in class org.terracotta.statistics.derived.MinMaxAverage
 
event(long, long...) - Method in interface org.terracotta.statistics.observer.ChainedEventObserver
Called to indicate an event happened.
EventParameterSimpleMovingAverage - Class in org.terracotta.statistics.derived
 
EventParameterSimpleMovingAverage(long, TimeUnit) - Constructor for class org.terracotta.statistics.derived.EventParameterSimpleMovingAverage
 
EventRateSimpleMovingAverage - Class in org.terracotta.statistics.derived
 
EventRateSimpleMovingAverage(long, TimeUnit) - Constructor for class org.terracotta.statistics.derived.EventRateSimpleMovingAverage
 
execute(Set<TreeNode>) - Method in interface org.terracotta.context.query.Query
Transforms the input node set in to an output node set.
execute(Runnable) - Method in class org.terracotta.statistics.util.InThreadExecutor
 
expire(long) - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
Expire.
expire(long) - Method in class org.terracotta.statistics.extended.RateImpl
Check the statistic for expiry.
expire(long) - Method in class org.terracotta.statistics.extended.SemiExpiringSampledStatistic
Expire.
ExposedStatistic - Class in org.terracotta.context.extended
 
ExposedStatistic(String, Class<?>, Set<String>, Map<String, Object>, Object) - Constructor for class org.terracotta.context.extended.ExposedStatistic
 
extract(Object) - Static method in class org.terracotta.context.extractor.ObjectContextExtractor
Returns a ContextElement instance for the supplied object.

F

filter(Matcher<? super TreeNode>) - Method in class org.terracotta.context.query.QueryBuilder
Filters the current node set using the supplied Matcher.
floatValue() - Method in class org.terracotta.statistics.jsr166e.LongAdder
Returns the LongAdder.sum() as a float after a widening primitive conversion.
floatValue() - Method in class org.terracotta.statistics.jsr166e.LongMaxUpdater
Returns the LongMaxUpdater.max() as a float after a widening primitive conversion.
fromChild(Object) - Method in interface org.terracotta.context.ContextManager.Dissociation
Removes the supplied object's context from the child node set of the target context node.
fromParent(Object) - Method in interface org.terracotta.context.ContextManager.Dissociation
Removes the supplied object's context from the parent node set of the target context node.

G

get(K) - Method in class org.terracotta.context.WeakIdentityHashMap
 
get() - Method in class org.terracotta.statistics.util.VicariousThreadLocal
 
getArchive() - Method in class org.terracotta.statistics.archive.StatisticArchive
 
getChildren() - Method in interface org.terracotta.context.TreeNode
Returns the immediate children of this context.
getContext() - Method in interface org.terracotta.context.TreeNode
Returns the context information associated with this node.
getHistorySampleSize() - Method in interface org.terracotta.statistics.extended.CompoundOperation
Gets the history sample size.
getHistorySampleSize() - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
Get the history sample size.
getHistorySampleSize() - Method in class org.terracotta.statistics.extended.NullCompoundOperation
Gets the history sample size.
getHistorySampleTime(TimeUnit) - Method in interface org.terracotta.statistics.extended.CompoundOperation
Gets the history sample time.
getHistorySampleTime(TimeUnit) - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
Get the history sample time.
getHistorySampleTime(TimeUnit) - Method in class org.terracotta.statistics.extended.NullCompoundOperation
Gets the history sample time.
getName() - Method in class org.terracotta.context.extended.ExposedStatistic
 
getOperationStatisticFor(OperationObserver<T>) - Static method in class org.terracotta.statistics.StatisticsManager
 
getPath() - Method in interface org.terracotta.context.TreeNode
Returns the unique rooting path of this context element.
getPaths() - Method in interface org.terracotta.context.TreeNode
Returns the complete set of rooting paths for this context element.
getProperties() - Method in class org.terracotta.context.extended.ExposedStatistic
 
getRegistrations() - Method in class org.terracotta.context.extended.StatisticsRegistry
 
getSample() - Method in interface org.terracotta.statistics.archive.Timestamped
 
getStat() - Method in class org.terracotta.context.extended.ExposedStatistic
 
getTags() - Method in class org.terracotta.context.extended.ExposedStatistic
 
getTimestamp() - Method in interface org.terracotta.statistics.archive.Timestamped
 
getType() - Method in class org.terracotta.context.extended.ExposedStatistic
 
getWindowSize(TimeUnit) - Method in interface org.terracotta.statistics.extended.CompoundOperation
Gets the window size.
getWindowSize(TimeUnit) - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
 
getWindowSize(TimeUnit) - Method in class org.terracotta.statistics.extended.NullCompoundOperation
 
graphAdded(TreeNode, TreeNode) - Method in interface org.terracotta.context.ContextListener
Called when a new subgraph is attached.
graphRemoved(TreeNode, TreeNode) - Method in interface org.terracotta.context.ContextListener
Called when a subgraph is detached.

H

hasAttribute(String, Object) - Static method in class org.terracotta.context.query.Matchers
Returns a matcher that matches attribute maps that include the given attribute entry.
hasAttribute(String, Matcher<? extends Object>) - Static method in class org.terracotta.context.query.Matchers
Returns a matcher that matches attribute maps the include an attribute with the given name, and whose value matches the given matcher.
history() - Method in class org.terracotta.statistics.extended.RateImpl
 
history() - Method in interface org.terracotta.statistics.extended.SampledStatistic
History.
history() - Method in class org.terracotta.statistics.extended.SemiExpiringSampledStatistic
 

I

identifier() - Method in interface org.terracotta.context.ContextElement
The type of the associated Java object.
identifier(Matcher<Class<?>>) - Static method in class org.terracotta.context.query.Matchers
Returns a matcher that matches context elements whose ContextElement.identifier() match against the supplied matcher.
increment() - Method in class org.terracotta.statistics.jsr166e.LongAdder
Equivalent to add(1).
insert(E) - Method in class org.terracotta.statistics.archive.CircularBuffer
 
instance(T) - Static method in class org.terracotta.statistics.ConstantValueStatistic
 
instance(Class<T>) - Static method in class org.terracotta.statistics.extended.NullCompoundOperation
Instance.
INSTANCE - Static variable in class org.terracotta.statistics.util.InThreadExecutor
 
InThreadExecutor - Class in org.terracotta.statistics.util
 
intValue() - Method in class org.terracotta.statistics.jsr166e.LongAdder
Returns the LongAdder.sum() as an int after a narrowing primitive conversion.
intValue() - Method in class org.terracotta.statistics.jsr166e.LongMaxUpdater
Returns the LongMaxUpdater.max() as an int after a narrowing primitive conversion.
isAlwaysOn() - Method in interface org.terracotta.statistics.extended.CompoundOperation
Checks if is always on.
isAlwaysOn() - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
 
isAlwaysOn() - Method in class org.terracotta.statistics.extended.NullCompoundOperation
Checks if is always on.

L

Latency - Interface in org.terracotta.statistics.extended
 
latency() - Method in interface org.terracotta.statistics.extended.Result
Latency.
LatencySampling<T extends Enum<T>> - Class in org.terracotta.statistics.derived
 
LatencySampling(Set<T>, double) - Constructor for class org.terracotta.statistics.derived.LatencySampling
 
LongAdder - Class in org.terracotta.statistics.jsr166e
One or more variables that together maintain an initially zero long sum.
LongAdder() - Constructor for class org.terracotta.statistics.jsr166e.LongAdder
Creates a new adder with initial sum of zero.
LongMaxUpdater - Class in org.terracotta.statistics.jsr166e
One or more variables that together maintain a running long maximum with initial value Long.MIN_VALUE.
LongMaxUpdater() - Constructor for class org.terracotta.statistics.jsr166e.LongMaxUpdater
Creates a new instance with initial maximum of Long.MIN_VALUE.
longValue() - Method in class org.terracotta.statistics.jsr166e.LongAdder
Equivalent to LongAdder.sum().
longValue() - Method in class org.terracotta.statistics.jsr166e.LongMaxUpdater
Equivalent to LongMaxUpdater.max().

M

Matcher<T> - Class in org.terracotta.context.query
A matching object that can be used to filter the node-set in a context query chain.
Matcher() - Constructor for class org.terracotta.context.query.Matcher
 
Matchers - Class in org.terracotta.context.query
A static library of Matcher implementations that can be used with the filter(Matcher) method.
matches(Object) - Method in class org.terracotta.context.query.Matcher
Returns true if this object matches successfully.
matchesSafely(T) - Method in class org.terracotta.context.query.Matcher
Returns true if the supplied object matches against this matcher.
max() - Method in class org.terracotta.statistics.derived.MinMaxAverage
 
max() - Method in class org.terracotta.statistics.jsr166e.LongMaxUpdater
Returns the current maximum.
maximum() - Method in class org.terracotta.statistics.derived.EventParameterSimpleMovingAverage
 
maximum() - Method in interface org.terracotta.statistics.extended.Latency
Maximum latency observed.
maximumStatistic() - Method in class org.terracotta.statistics.derived.EventParameterSimpleMovingAverage
 
maxStatistic() - Method in class org.terracotta.statistics.derived.MinMaxAverage
 
maxThenReset() - Method in class org.terracotta.statistics.jsr166e.LongMaxUpdater
Equivalent in effect to LongMaxUpdater.max() followed by LongMaxUpdater.reset().
mean() - Method in class org.terracotta.statistics.derived.MinMaxAverage
 
meanStatistic() - Method in class org.terracotta.statistics.derived.MinMaxAverage
 
min() - Method in class org.terracotta.statistics.derived.MinMaxAverage
 
minimum() - Method in class org.terracotta.statistics.derived.EventParameterSimpleMovingAverage
 
minimum() - Method in interface org.terracotta.statistics.extended.Latency
Minimum latency observed.
minimumStatistic() - Method in class org.terracotta.statistics.derived.EventParameterSimpleMovingAverage
 
MinMaxAverage - Class in org.terracotta.statistics.derived
 
MinMaxAverage() - Constructor for class org.terracotta.statistics.derived.MinMaxAverage
 
MinMaxAverage(Executor) - Constructor for class org.terracotta.statistics.derived.MinMaxAverage
 
minStatistic() - Method in class org.terracotta.statistics.derived.MinMaxAverage
 

N

name - Variable in class org.terracotta.statistics.AbstractOperationStatistic
 
next(int) - Method in class org.terracotta.statistics.jsr166e.ThreadLocalRandom
 
nextDouble(double) - Method in class org.terracotta.statistics.jsr166e.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed double value between 0 (inclusive) and the specified value (exclusive).
nextDouble(double, double) - Method in class org.terracotta.statistics.jsr166e.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
nextInt(int, int) - Method in class org.terracotta.statistics.jsr166e.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
nextLong(long) - Method in class org.terracotta.statistics.jsr166e.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between 0 (inclusive) and the specified value (exclusive).
nextLong(long, long) - Method in class org.terracotta.statistics.jsr166e.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
nodeFor(Object) - Static method in class org.terracotta.context.ContextManager
Return the TreeNode associated with this object.
not(Matcher<T>) - Static method in class org.terracotta.context.query.Matchers
 
NullCompoundOperation<T extends Enum<T>> - Class in org.terracotta.statistics.extended
The Class NullCompoundOperation.

O

ObjectContextExtractor - Class in org.terracotta.context.extractor
Extracts context information from object instances and creates appropriate enclosing instances.
operation(Class<T>) - Static method in class org.terracotta.statistics.StatisticBuilder
Operation.
operationName() - Method in interface org.terracotta.context.extended.OperationType
The name of the statistic as found in the statistics context tree.
OperationObserver<T extends Enum<T>> - Interface in org.terracotta.statistics.observer
Operation observers track the occurrence of processes which take a finite time and can potential terminate in different ways.
OperationResultFilter<T extends Enum<T>> - Class in org.terracotta.statistics.derived
 
OperationResultFilter(Set<T>, ChainedEventObserver...) - Constructor for class org.terracotta.statistics.derived.OperationResultFilter
 
OperationStatistic<T extends Enum<T>> - Interface in org.terracotta.statistics
 
OperationStatisticBuilder(Class<T>) - Constructor for class org.terracotta.statistics.StatisticBuilder.OperationStatisticBuilder
Instantiates a new operation statistic builder.
OperationType - Interface in org.terracotta.context.extended
 
org.terracotta.context - package org.terracotta.context
 
org.terracotta.context.annotations - package org.terracotta.context.annotations
 
org.terracotta.context.extended - package org.terracotta.context.extended
 
org.terracotta.context.extractor - package org.terracotta.context.extractor
 
org.terracotta.context.query - package org.terracotta.context.query
 
org.terracotta.statistics - package org.terracotta.statistics
 
org.terracotta.statistics.archive - package org.terracotta.statistics.archive
 
org.terracotta.statistics.derived - package org.terracotta.statistics.derived
 
org.terracotta.statistics.extended - package org.terracotta.statistics.extended
 
org.terracotta.statistics.jsr166e - package org.terracotta.statistics.jsr166e
 
org.terracotta.statistics.observer - package org.terracotta.statistics.observer
 
org.terracotta.statistics.util - package org.terracotta.statistics.util
 

P

parent() - Method in class org.terracotta.context.query.QueryBuilder
Selects the parent of the current node.
poll() - Method in class org.terracotta.statistics.util.VicariousThreadLocal
Check if any strong references need should be removed due to thread exit.
properties - Variable in class org.terracotta.statistics.AbstractOperationStatistic
 
putIfAbsent(K, V) - Method in class org.terracotta.context.WeakIdentityHashMap
 

Q

Queries - Class in org.terracotta.context.query
 
query(Query) - Method in class org.terracotta.context.ContextManager
Run the supplied Query against this ContextManager's root context.
Query - Interface in org.terracotta.context.query
A Query instance transforms an input node set into an output node set.
QueryBuilder - Class in org.terracotta.context.query
A QueryBuilder allows for modular assembly of context graph queries.
queryBuilder() - Static method in class org.terracotta.context.query.QueryBuilder
Creates a new query builder instance.
queryForSingleton(Query) - Method in class org.terracotta.context.ContextManager
Return the unique node selected by running this query against this ContextManager's root context.

R

rate(TimeUnit) - Method in class org.terracotta.statistics.derived.EventRateSimpleMovingAverage
 
rate() - Method in interface org.terracotta.statistics.extended.Result
Rate.
RateImpl<T extends Enum<T>> - Class in org.terracotta.statistics.extended
The Class RateStatistic.
RateImpl(OperationStatistic<T>, Set<T>, long, TimeUnit, ScheduledExecutorService, int, long, TimeUnit) - Constructor for class org.terracotta.statistics.extended.RateImpl
Instantiates a new rate statistic.
rateUsingSeconds() - Method in class org.terracotta.statistics.derived.EventRateSimpleMovingAverage
 
ratioOf(Set<T>, Set<T>) - Method in interface org.terracotta.statistics.extended.CompoundOperation
Ratio of.
ratioOf(Set<T>, Set<T>) - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
 
ratioOf(Set<T>, Set<T>) - Method in class org.terracotta.statistics.extended.NullCompoundOperation
Ratio of.
registerCompoundOperation(String, Set<String>, Map<String, Object>, OperationType, Set<?>) - Method in class org.terracotta.context.extended.StatisticsRegistry
 
registerContextCreationListener(ContextCreationListener) - Static method in class org.terracotta.context.ContextManager
 
registerContextListener(ContextListener) - Method in class org.terracotta.context.ContextManager
Registers a listener for additions and removals to this ContextManager's context graph.
registerCountOperation(String, Set<String>, Map<String, Object>, OperationType) - Method in class org.terracotta.context.extended.StatisticsRegistry
 
registerRatio(String, Set<String>, Map<String, Object>, OperationType, Set<?>, Set<?>) - Method in class org.terracotta.context.extended.StatisticsRegistry
 
remove() - Method in class org.terracotta.statistics.util.VicariousThreadLocal
 
removeDerivedStatistic(T) - Method in class org.terracotta.statistics.AbstractSourceStatistic
 
removeDerivedStatistic(T) - Method in interface org.terracotta.statistics.SourceStatistic
Remove the given registered from this SourceStatistic.
required() - Method in interface org.terracotta.context.extended.OperationType
If this statistic is required.
reset() - Method in class org.terracotta.statistics.jsr166e.LongAdder
Resets variables maintaining the sum to zero.
reset() - Method in class org.terracotta.statistics.jsr166e.LongMaxUpdater
Resets variables maintaining updates to Long.MIN_VALUE.
Result - Interface in org.terracotta.statistics.extended
 
root(Object) - Method in class org.terracotta.context.ContextManager
Root the given object's context node in this ContextManager instance.

S

SampledStatistic<T extends Number> - Interface in org.terracotta.statistics.extended
 
SampleSink<T> - Interface in org.terracotta.statistics.archive
 
self() - Static method in class org.terracotta.context.query.Queries
Creates a query selecting self.
SemiExpiringSampledStatistic<T extends Number> - Class in org.terracotta.statistics.extended
Statistic implementation that stops sampling history if the last history access is before a user supplied timestamp.
SemiExpiringSampledStatistic(ValueStatistic<T>, ScheduledExecutorService, int, long, TimeUnit) - Constructor for class org.terracotta.statistics.extended.SemiExpiringSampledStatistic
Creates a new semi-expiring statistic.
set(T) - Method in class org.terracotta.statistics.util.VicariousThreadLocal
 
setAlwaysOn(boolean) - Method in class org.terracotta.context.extended.StatisticsRegistry
 
setAlwaysOn(boolean) - Method in interface org.terracotta.statistics.extended.CompoundOperation
Sets the always on.
setAlwaysOn(boolean) - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
 
setAlwaysOn(boolean) - Method in class org.terracotta.statistics.extended.NullCompoundOperation
Sets the always on.
setCapacity(int) - Method in class org.terracotta.statistics.archive.StatisticArchive
 
setHistory(int, long, TimeUnit) - Method in interface org.terracotta.statistics.extended.CompoundOperation
Sets the history.
setHistory(int, long, TimeUnit) - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
 
setHistory(int, long, TimeUnit) - Method in class org.terracotta.statistics.extended.NullCompoundOperation
Sets the history.
setHistory(int, long, TimeUnit) - Method in class org.terracotta.statistics.extended.RateImpl
Set the sample history parameters.
setPeriod(long, TimeUnit) - Method in class org.terracotta.statistics.archive.StatisticSampler
 
setSeed(long) - Method in class org.terracotta.statistics.jsr166e.ThreadLocalRandom
Throws UnsupportedOperationException.
setTimeToDisable(long, TimeUnit) - Method in class org.terracotta.context.extended.StatisticsRegistry
 
setWindow(long, TimeUnit) - Method in class org.terracotta.statistics.derived.EventParameterSimpleMovingAverage
 
setWindow(long, TimeUnit) - Method in class org.terracotta.statistics.derived.EventRateSimpleMovingAverage
 
setWindow(long, TimeUnit) - Method in interface org.terracotta.statistics.extended.CompoundOperation
Sets the window.
setWindow(long, TimeUnit) - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
 
setWindow(long, TimeUnit) - Method in class org.terracotta.statistics.extended.NullCompoundOperation
Sets the window.
setWindow(long, TimeUnit) - Method in class org.terracotta.statistics.extended.RateImpl
Sets the window.
shutdown() - Method in class org.terracotta.statistics.archive.StatisticSampler
 
SourceStatistic<T extends ChainedObserver> - Interface in org.terracotta.statistics
Source statistic implementations support derived statistics.
start() - Method in class org.terracotta.statistics.archive.StatisticSampler
 
start() - Method in class org.terracotta.statistics.extended.RateImpl
Start sampling.
start() - Method in class org.terracotta.statistics.extended.SemiExpiringSampledStatistic
Start.
startStatistic() - Method in class org.terracotta.statistics.extended.SemiExpiringSampledStatistic
Start statistic.
statistic(T) - Method in class org.terracotta.statistics.AbstractOperationStatistic
Return a returning the count for the given result.
statistic(Set<T>) - Method in class org.terracotta.statistics.AbstractOperationStatistic
 
statistic(T) - Method in interface org.terracotta.statistics.OperationStatistic
Return a returning the count for the given result.
statistic(Set<T>) - Method in interface org.terracotta.statistics.OperationStatistic
 
Statistic - Annotation Type in org.terracotta.statistics
 
StatisticArchive<T> - Class in org.terracotta.statistics.archive
 
StatisticArchive(int) - Constructor for class org.terracotta.statistics.archive.StatisticArchive
 
StatisticArchive(int, SampleSink<? super Timestamped<T>>) - Constructor for class org.terracotta.statistics.archive.StatisticArchive
 
StatisticBuilder - Class in org.terracotta.statistics
 
StatisticBuilder.OperationStatisticBuilder<T extends Enum<T>> - Class in org.terracotta.statistics
The Class OperationStatisticBuilder.
StatisticSampler<T extends Number> - Class in org.terracotta.statistics.archive
 
StatisticSampler(long, TimeUnit, ValueStatistic<T>, SampleSink<? super Timestamped<T>>) - Constructor for class org.terracotta.statistics.archive.StatisticSampler
 
StatisticSampler(ScheduledExecutorService, long, TimeUnit, ValueStatistic<T>, SampleSink<? super Timestamped<T>>) - Constructor for class org.terracotta.statistics.archive.StatisticSampler
 
StatisticsManager - Class in org.terracotta.statistics
 
StatisticsManager() - Constructor for class org.terracotta.statistics.StatisticsManager
 
StatisticsRegistry - Class in org.terracotta.context.extended
 
StatisticsRegistry(Class<? extends OperationType>, Object, ScheduledExecutorService, long, TimeUnit, int, long, TimeUnit, long, TimeUnit) - Constructor for class org.terracotta.context.extended.StatisticsRegistry
 
stop() - Method in class org.terracotta.statistics.archive.StatisticSampler
 
stopStatistic() - Method in class org.terracotta.statistics.extended.SemiExpiringSampledStatistic
Stop statistic.
subclassOf(Class<?>) - Static method in class org.terracotta.context.query.Matchers
Returns a matcher that matches classes that are sub-types of the supplied class.
sum() - Method in class org.terracotta.statistics.AbstractOperationStatistic
 
sum() - Method in class org.terracotta.statistics.jsr166e.LongAdder
Returns the current sum.
sum(Set<T>) - Method in interface org.terracotta.statistics.OperationStatistic
 
sum() - Method in interface org.terracotta.statistics.OperationStatistic
 
sumThenReset() - Method in class org.terracotta.statistics.jsr166e.LongAdder
Equivalent in effect to LongAdder.sum() followed by LongAdder.reset().

T

tags() - Method in interface org.terracotta.context.extended.OperationType
A set of tags that will be on the statistic found in the statistics context tree.
tags - Variable in class org.terracotta.statistics.AbstractOperationStatistic
 
ThreadLocalRandom - Class in org.terracotta.statistics.jsr166e
A random number generator isolated to the current thread.
Time - Class in org.terracotta.statistics
This class contains the static time-sources used within the framework.
time() - Static method in class org.terracotta.statistics.Time
Returns a timestamp in nanoseconds with an arbitrary origin suitable for timing purposes.
time() - Method in interface org.terracotta.statistics.Time.TimeSource
 
Time.TimeSource - Interface in org.terracotta.statistics
 
Timestamped<T> - Interface in org.terracotta.statistics.archive
 
toArray(Class<T[]>) - Method in class org.terracotta.statistics.archive.CircularBuffer
 
toString() - Method in class org.terracotta.statistics.jsr166e.LongAdder
Returns the String representation of the LongAdder.sum().
toString() - Method in class org.terracotta.statistics.jsr166e.LongMaxUpdater
Returns the String representation of the LongMaxUpdater.max().
toTreeString() - Method in interface org.terracotta.context.TreeNode
 
touch() - Method in class org.terracotta.statistics.extended.SemiExpiringSampledStatistic
Touch.
TreeNode - Interface in org.terracotta.context
A context tree node associated with a Java object.
type() - Method in interface org.terracotta.context.extended.OperationType
Operation result type.
type - Variable in class org.terracotta.statistics.AbstractOperationStatistic
 
type() - Method in class org.terracotta.statistics.AbstractOperationStatistic
 
type() - Method in interface org.terracotta.statistics.extended.CompoundOperation
Type.
type() - Method in class org.terracotta.statistics.extended.CompoundOperationImpl
 
type() - Method in class org.terracotta.statistics.extended.NullCompoundOperation
Type.
type() - Method in interface org.terracotta.statistics.OperationStatistic
 

U

update(long) - Method in class org.terracotta.statistics.jsr166e.LongMaxUpdater
Updates the maximum to be at least the given value.
uproot(Object) - Method in class org.terracotta.context.ContextManager
Remove the given object's context node from this ContextManager root set.

V

value() - Method in class org.terracotta.statistics.ConstantValueStatistic
 
value() - Method in class org.terracotta.statistics.derived.EventParameterSimpleMovingAverage
 
value() - Method in class org.terracotta.statistics.derived.EventRateSimpleMovingAverage
 
value(T) - Method in interface org.terracotta.statistics.extended.CountOperation
Value.
value(T...) - Method in interface org.terracotta.statistics.extended.CountOperation
Value.
value() - Method in class org.terracotta.statistics.extended.RateImpl
 
value() - Method in interface org.terracotta.statistics.extended.SampledStatistic
Value.
value() - Method in interface org.terracotta.statistics.ValueStatistic
 
ValueStatistic<T extends Number> - Interface in org.terracotta.statistics
 
VicariousThreadLocal<T> - Class in org.terracotta.statistics.util
A drop-in replacement ThreadLocal implementation that does not leak when thread-local values reference the ThreadLocal object.
VicariousThreadLocal() - Constructor for class org.terracotta.statistics.util.VicariousThreadLocal
Creates a new VicariousThreadLocal.

W

WeakFieldAttributeGetter<T> - Class in org.terracotta.context.extractor
 
WeakFieldAttributeGetter(Object, Field) - Constructor for class org.terracotta.context.extractor.WeakFieldAttributeGetter
 
WeakIdentityHashMap<K,V> - Class in org.terracotta.context
 
WeakIdentityHashMap() - Constructor for class org.terracotta.context.WeakIdentityHashMap
 
WeakIdentityHashMap.Cleanable - Interface in org.terracotta.context
 
withChild(Object) - Method in interface org.terracotta.context.ContextManager.Association
Adds the supplied object's context node as a child of the target context node.
withParent(Object) - Method in interface org.terracotta.context.ContextManager.Association
Adds the supplied object's context node as a parent of the target context node.
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2018. All rights reserved.