Skip to content
Permalink
Browse files
refactoring reporter structure to make it easier to be pluggable
  • Loading branch information
rmannibucau committed Jan 8, 2019
1 parent 24469a3 commit a758c87ef3a99a6fbe5e9a674b23696093d9b279
Showing 32 changed files with 1,059 additions and 496 deletions.
@@ -66,6 +66,12 @@
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.meecrowave</groupId>
<artifactId>meecrowave-junit</artifactId>
<version>${meecrowave.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>

This file was deleted.

This file was deleted.

@@ -14,12 +14,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.geronimo.microprofile.reporter.storage;
package org.apache.geronimo.microprofile.reporter.storage.data;

import static java.util.stream.Collectors.toMap;

import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedList;
import java.util.concurrent.ConcurrentSkipListMap;
import java.util.concurrent.TimeUnit;
@@ -67,7 +66,7 @@ public LinkedList<Value<T>> snapshot() {
}
}

void add(final T value) {
public void add(final T value) {
ensureUpToDate();

final long now = System.currentTimeMillis();

0 comments on commit a758c87

Please sign in to comment.