Group: Simplj Flair
Sort by:Popular

Shared zero-dependency utilities used by every FlairCache module — currently the single FlairCacheThreadFactory through which all FlairCache threads are created (daemon, named). Has zero dependencies on any other FlairCache module.
Last Release on Jul 5, 2026
Zero-dependency Hybrid Logical Clock (HLC) for causal timestamps and Last-Write-Wins conflict resolution in distributed systems. Combines physical wall-clock time with a logical counter to produce monotonically increasing timestamps ...
Last Release on Jul 5, 2026
Fast zero-dependency binary serialization for FlairCache — hand-rolled POJO ↔ ByteBuffer encoding with no reflection and no external libraries. Usable standalone in any Java project that needs compact, efficient binary serialization ...
Last Release on Jul 5, 2026
Fast embedded local in-memory cache backed by ConcurrentHashMap and StampedLock. Provides TTL-based expiry, LRU/LFU/size-based eviction, and sub-microsecond reads.
Last Release on Jul 5, 2026
Zero-dependency non-blocking NIO TCP server and client for FlairCache. Operates on raw byte[] only — callers are responsible for encoding and decoding.
Last Release on Jul 5, 2026
Zero-dependency SWIM gossip protocol for peer discovery and failure detection over UDP. Gossip is independent of TCP transport — it uses DatagramSocket, not SocketChannel.
Last Release on Jul 5, 2026
Multi-node TCP data propagation with ACK tracking and configurable consistency modes (EVENTUAL, QUORUM, STRONG). Contains the frame encoder/decoder and the replication fanout coordinator.
Last Release on Jul 5, 2026

8.FlairCache2 usages

com.simplj.flair » flair-cache Apache

Fast Local Access with In-memory Replication — embeddable, zero-infra, JDK-only distributed Java cache. Add this single dependency to get all FlairCache modules: serial, transport, gossip, hlc, store, replication, bootstrap, dsl, ...
Last Release on Jul 5, 2026
Full state synchronisation for new nodes joining an existing FlairCache cluster. Transfers the complete current store contents over TCP in chunked SYNC frames so a joining node is immediately consistent.
Last Release on Jul 5, 2026

10.FlairCache — Query DSL2 usages

com.simplj.flair » flair-cache-dsl Apache

SQL-like query DSL for filtering, joining, grouping, and aggregating over in-memory data. Accepts any Map or Collection as input — has no dependency on the FlairCache store.
Last Release on Jul 5, 2026
Typed in-process pub/sub engine for subscribing to data change events (PUT, DELETE, EXPIRE). WatchRegistry is a standalone event bus — it has no dependency on the FlairCache store.
Last Release on Jul 5, 2026
JMX metrics registry wired to all FlairCache internals. Exposes CacheMetrics (hit/miss rate), ReplicationMetrics (lag, pending/dropped frames), ClusterMetrics (alive/suspected nodes), and EvictionMetrics (evicted/expired entries) ...
Last Release on Jul 5, 2026

13.FlairCache — Benchmarks

com.simplj.flair » flair-cache-benchmarks Apache

JMH micro-benchmarks for all FlairCache critical paths. Not published to Maven Central.
Last Release on Jul 5, 2026

14.FlairCache — Integration Tests

com.simplj.flair » flair-cache-it Apache

End-to-end integration test suite covering all FlairCache functionality through the FlairCache facade. All tests run in-JVM with an embedded FlairCluster — no Docker, no external infrastructure required.
Last Release on Jul 5, 2026

15.FlairCache Parent

com.simplj.flair » flair-cache-parent Apache

Fast Local Access with In-memory Replication — parent POM for all FlairCache modules
Last Release on Jul 5, 2026