tools4j-nobark

A library with low latency zero gc data structures and utilities.

License

License

GroupId

GroupId

org.tools4j
ArtifactId

ArtifactId

tools4j-nobark
Last Version

Last Version

1.5
Release Date

Release Date

Type

Type

jar
Description

Description

tools4j-nobark
A library with low latency zero gc data structures and utilities.
Project URL

Project URL

https://github.com/tools4j/nobark
Source Code Management

Source Code Management

https://github.com/tools4j/nobark.git

Download tools4j-nobark

How to add to project

<!-- https://jarcasting.com/artifacts/org.tools4j/tools4j-nobark/ -->
<dependency>
    <groupId>org.tools4j</groupId>
    <artifactId>tools4j-nobark</artifactId>
    <version>1.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.tools4j/tools4j-nobark/
implementation 'org.tools4j:tools4j-nobark:1.5'
// https://jarcasting.com/artifacts/org.tools4j/tools4j-nobark/
implementation ("org.tools4j:tools4j-nobark:1.5")
'org.tools4j:tools4j-nobark:jar:1.5'
<dependency org="org.tools4j" name="tools4j-nobark" rev="1.5">
  <artifact name="tools4j-nobark" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.tools4j', module='tools4j-nobark', version='1.5')
)
libraryDependencies += "org.tools4j" % "tools4j-nobark" % "1.5"
[org.tools4j/tools4j-nobark "1.5"]

Dependencies

test (3)

Group / Artifact Type Version
org.hdrhistogram : HdrHistogram jar 2.1.9
junit : junit jar 4.12
org.agrona : agrona jar 0.9.13

Project Modules

There are no modules declared in this project.

Build Status Coverage Status Maven Central Javadocs

tools4j-nobark is a library with low latency zero gc data structures and utilities.

Conflation queues

A conflation queue is a queue with a safety mechanism to prevent overflow. Values are enqueued with a conflation key, and if a value with the same key already resides in the queue then the two values will be "conflated". Conflation in the simplest case means that the most recent value survives and replaces older values; some more advanced implementations support merging when conflation occurs.

more information

javadoc API

Event loops

The loop package provides interfaces and classes with simple building blocks for event loops based on executable steps. A Step is quite similar to a Java Runnable but it returns a value indicating whether substantial work was performed or not --- based on this value an IdleStrategy allows control over how intensively the event loop occupies the CPU.

javadoc API

Notes

The code makes use of the @Contended annotation for false sharing prevention. For best performance, this optimisation needs to be unlocked as follows:

java -XX:-RestrictContended ...

Gradle

dependencies {
    compile 'org.tools4j:tools4j-nobark:1.5'
}

Maven

<dependency>
    <groupId>org.tools4j</groupId>
    <artifactId>tools4j-nobark</artifactId>
    <version>1.5</version>
</dependency>

API Javadoc

Javadocs

org.tools4j
tools4j.org is a collection of Java libraries and tools.

Versions

Version
1.5
1.4
1.3
1.2
1.1
1.0