Uses of Interface
org.jppf.utils.stats.JPPFSnapshot
Packages that use JPPFSnapshot
Package
Description
Support for asynchronous communication between JPPF components.
Classes supporting statistics in JPPF.
-
Uses of JPPFSnapshot in org.jppf.nio
Fields in org.jppf.nio declared as JPPFSnapshotModifier and TypeFieldDescriptionprotected JPPFSnapshotAbstractNioContext.inSnapshotInbound traffic statistics snapshot.protected JPPFSnapshotAbstractNioContext.outSnapshotOutbound traffic statistics snapshot. -
Uses of JPPFSnapshot in org.jppf.utils.stats
Classes in org.jppf.utils.stats that implement JPPFSnapshotModifier and TypeClassDescriptionclassConvenience class for collecting time or size statistics.classConvenience class for collecting time or size statistics.classIn this implementation,getLatest()is computed as the cumulated sum of all values added to the snapshot.classIn this implementation,getLatest()is computed as the average of the latest set of values that were added, or the latest value if only one was added.classInstances of this class simply accumulate the values provided via calls toSingleValueSnapshot.addValues(double, long).Methods in org.jppf.utils.stats that return JPPFSnapshotModifier and TypeMethodDescriptionAdd the specified value to the snapshot with the specified label.Add the specified values to the snapshot with the specified label.CumulativeSnapshot.copy()Make a copy of this time snapshot object.JPPFSnapshot.copy()Make a copy of this time snapshot object.NonCumulativeSnapshot.copy()Make a copy of this time snapshot object.SingleValueSnapshot.copy()Make a copy of this time snapshot object.JPPFStatistics.createSingleValueSnapshot(String label) Create a single value snapshot with the specified label if it doesn't exist.JPPFStatistics.createSingleValueSnapshots(String... labels) Create an array of single value snapshots with the specified labels, if they don't exist.JPPFStatistics.createSnapshot(boolean cumulative, String label) Create a snapshot with the specified label if it doesn't exist.JPPFStatistics.createSnapshot(String label) Create a snapshot with the specified label if it doesn't exist.JPPFStatistics.createSnapshots(boolean cumulative, String... labels) Create an array of snapshots with the specified labels, if they don't exist.JPPFStatistics.createSnapshots(String... labels) Create an array of snapshots with the specified labels, if it doesn't exist.JPPFStatistics.getSnapshot(String label) Get a snapshot specified by its label.JPPFStatisticsEvent.getSnapshot()Get the snapshot that was created, removed or updated.JPPFStatistics.removeSnapshot(String label) Remove the snapshot with the specified label.Methods in org.jppf.utils.stats that return types with arguments of type JPPFSnapshotModifier and TypeMethodDescriptionJPPFStatistics.getSnapshots()Get all the snapshots in this object.JPPFStatistics.getSnapshots(JPPFStatistics.Filter filter) Get the snapshots which satisfy the specified filter.JPPFStatistics.iterator()Methods in org.jppf.utils.stats with parameters of type JPPFSnapshotModifier and TypeMethodDescriptionbooleanJPPFSnapshot.LabelBasedFilter.accept(JPPFSnapshot snapshot) booleanJPPFStatistics.Filter.accept(JPPFSnapshot snapshot) Determines whether the specified snapshot is accepted by this filter.static StringJPPFStatisticsHelper.getLocalizedLabel(JPPFSnapshot snapshot) Get the localized translation of the label of the specified snapshot in the current locale.static StringJPPFStatisticsHelper.getLocalizedLabel(JPPFSnapshot snapshot, Locale locale) Get the localized translation of the label of the specified snapshot in the specified locale.static booleanJPPFStatisticsHelper.isCumulative(JPPFSnapshot snapshot) Determine wether the specified snapshot is a cumulative snapshot.static booleanJPPFStatisticsHelper.isNonCumulative(JPPFSnapshot snapshot) Determine wether the specified snapshot is a non-cumulative snapshot.static booleanJPPFStatisticsHelper.isSingleValue(JPPFSnapshot snapshot) Determine wether the specified snapshot is a single value snapshot.static voidJPPFStatisticsHelper.toProperties(TypedProperties statsProperties, JPPFSnapshot snapshot) Add or update the values of the specified snapshot as properties in the specified set of properties.Constructors in org.jppf.utils.stats with parameters of type JPPFSnapshotModifierConstructorDescriptionJPPFStatisticsEvent(JPPFStatistics statistics, JPPFSnapshot snapshot) Initialize this event with the specified source statistics and snapshot.