Skip to content

Commit

Permalink
4.11 Release updating transitive threadly to 5.40
Browse files Browse the repository at this point in the history
  • Loading branch information
jentfoo committed Sep 5, 2019
1 parent 0b9c05d commit 3334dc4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Include the litesockets library into your project from maven central:
<dependency>
<groupId>org.threadly</groupId>
<artifactId>litesockets</artifactId>
<version>4.10</version>
<version>4.11</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group = org.threadly
version = 4.10
threadlyVersion = 5.37
version = 4.11
threadlyVersion = 5.40
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import org.threadly.concurrent.SubmitterScheduler;
import org.threadly.concurrent.future.ListenableFuture;
import org.threadly.concurrent.future.WatchdogCache;
import org.threadly.concurrent.future.watchdog.MixedTimeWatchdog;
import org.threadly.litesockets.utils.IOUtils;
import org.threadly.litesockets.utils.SimpleByteStats;
import org.threadly.util.AbstractService;
Expand All @@ -29,7 +29,7 @@ abstract class SocketExecuterCommonBase extends AbstractService implements Socke
protected final ConcurrentHashMap<SocketChannel, Client> clients = new ConcurrentHashMap<>();
protected final ConcurrentHashMap<SelectableChannel, Server> servers = new ConcurrentHashMap<>();
protected final SocketExecuterByteStats stats = new SocketExecuterByteStats();
protected final WatchdogCache dogCache;
protected final MixedTimeWatchdog dogCache;
protected volatile boolean perConnectionStatsEnabled = true;
protected Selector acceptSelector;

Expand All @@ -43,7 +43,7 @@ abstract class SocketExecuterCommonBase extends AbstractService implements Socke
ArgumentVerifier.assertNotNull(acceptScheduler, "Accept Scheduler");

schedulerPool = ssi;
dogCache = new WatchdogCache(ssi, true);
dogCache = new MixedTimeWatchdog(ssi, true);
this.acceptScheduler = acceptScheduler;
}

Expand Down Expand Up @@ -188,7 +188,7 @@ public SimpleByteStats getStats() {

@Override
public void watchFuture(final ListenableFuture<?> lf, final long delay) {
dogCache.watch(lf, delay);
dogCache.watch(delay, lf);
}

protected static Selector openSelector() {
Expand Down

0 comments on commit 3334dc4

Please sign in to comment.