MCPcopy Create free account
hub / github.com/traneio/future / newPosition

Method newPosition

future-java/src/main/java/io/trane/future/Local.java:115–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 }
114
115 private static final synchronized int newPosition() {
116 if (threadLocal == null)
117 threadLocal = new ThreadLocal<>();
118 return size++;
119 }
120
121 private final int position = newPosition();
122

Callers 1

LocalClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected