commit | 41b1f3ab348da6c69f48e6ade46d27b869971a46 | [log] [tgz] |
---|---|---|
author | Flavio Castro <castro.flaviojr@gmail.com> | Fri Jul 31 13:51:32 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Aug 11 16:43:11 2015 +0000 |
tree | a6a34f2b444e73ce93a97fa88248a030b79dc6eb | |
parent | 15687d120a413d15a024b1956a870cdac7484286 [diff] [blame] |
ONOS-2456 Added usage metrics to Atomic Counter and Distributed Queue plus refactored the code a bit Refactored code plus instrumented AtomicValue and DistributedSet Change-Id: I9c5f7c9f23d530131f15d3c98250ea33238dd2ec
diff --git a/core/api/src/main/java/org/onosproject/store/service/AtomicValueBuilder.java b/core/api/src/main/java/org/onosproject/store/service/AtomicValueBuilder.java index 6527b9c..3478ce0 100644 --- a/core/api/src/main/java/org/onosproject/store/service/AtomicValueBuilder.java +++ b/core/api/src/main/java/org/onosproject/store/service/AtomicValueBuilder.java
@@ -60,6 +60,14 @@ AtomicValueBuilder<V> withPartitionsDisabled(); /** + * Instantiates Metering service to gather usage and performance metrics. + * By default, usage data will be stored. + * + * @return this AtomicValueBuilder for method chaining + */ + AtomicValueBuilder<V> withMeteringDisabled(); + + /** * Builds a AtomicValue based on the configuration options * supplied to this builder. *