Skip to content

Commit

Permalink
OAK-7259 - Improve SegmentNodeStoreStats to include number of commits…
Browse files Browse the repository at this point in the history
… per thread and threads currently waiting on the semaphore

Removed dependency to concurrentlinkedhashmap from other bundles and embedded it in oak-segment-tar

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1826245 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dulceanu committed Mar 8, 2018
1 parent 820b198 commit 1332a09
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 55 deletions.
5 changes: 0 additions & 5 deletions oak-examples/standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@
<artifactId>metrics-core</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions oak-examples/webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,6 @@
<artifactId>metrics-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
5 changes: 0 additions & 5 deletions oak-it-osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,6 @@
<artifactId>metrics-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
1 change: 0 additions & 1 deletion oak-it-osgi/test-bundles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
<include>org.apache.jackrabbit:oak-security-spi</include>
<include>org.apache.jackrabbit:oak-blob-plugins</include>
<include>io.dropwizard.metrics:metrics-core</include>
<include>com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru</include>
</includes>
</dependencySet>
</dependencySets>
Expand Down
5 changes: 0 additions & 5 deletions oak-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,5 @@
<artifactId>metrics-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
5 changes: 0 additions & 5 deletions oak-jcr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -458,10 +458,5 @@
<artifactId>metrics-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
5 changes: 0 additions & 5 deletions oak-lucene/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,6 @@
<artifactId>metrics-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-exec</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions oak-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -540,11 +540,6 @@
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<version>1.4.2</version>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions oak-pojosr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,5 @@
<artifactId>metrics-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
4 changes: 0 additions & 4 deletions oak-run-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
Expand Down
20 changes: 14 additions & 6 deletions oak-segment-tar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

<properties>
<netty.version>4.1.14.Final</netty.version>
<concurrentlinkedhashmap.version>1.4.2</concurrentlinkedhashmap.version>
</properties>

<build>
Expand All @@ -45,7 +46,8 @@
<instructions>
<Export-Package />
<Embed-Dependency>
netty-*
netty-*,
concurrentlinkedhashmap-lru
</Embed-Dependency>
<Import-Package>
com.codahale.metrics*;version="[3.1,4)",
Expand Down Expand Up @@ -236,11 +238,6 @@
<artifactId>jsr305</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
Expand All @@ -262,6 +259,8 @@
<scope>provided</scope>
</dependency>

<!-- Embedded dependencies -->

<!-- Netty -->

<dependency>
Expand Down Expand Up @@ -301,6 +300,15 @@
<scope>compile</scope>
</dependency>

<!-- ConcurrentLinkedHashMap -->

<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<version>${concurrentlinkedhashmap.version}</version>
<scope>compile</scope>
</dependency>

<!-- Dependencies on Oak testing modules -->

<dependency>
Expand Down
4 changes: 0 additions & 4 deletions oak-upgrade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,6 @@
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
</dependency>

<!-- Test Dependencies -->
<dependency>
Expand Down

0 comments on commit 1332a09

Please sign in to comment.