Package | Description |
---|---|
org.snf4j.core.allocator |
Provides interfaces and classes for implementing allocators used by the API.
|
org.snf4j.example.file |
A zero-copy file transfer client/server example.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultAllocatorMetric
Metric for the
DefaultAllocator . |
Constructor and Description |
---|
CachingAllocator(boolean direct,
IDefaultAllocatorMetricCollector metric)
Constructs a caching allocator with default minimal capacity (128) and specified
metric data collector.
|
CachingAllocator(boolean direct,
int minCapacity,
IDefaultAllocatorMetricCollector metric)
Constructs a caching allocator with specified metric data collector.
|
DefaultAllocator(boolean direct,
IDefaultAllocatorMetricCollector metric)
Constructs a default allocator with specified metric data collector.
|
ThreadLocalCachingAllocator(boolean direct,
IDefaultAllocatorMetricCollector metric)
Constructs a thread-local caching allocator with default minimal capacity
(128) and specified metric data collector.
|
ThreadLocalCachingAllocator(boolean direct,
int minCapacity,
boolean forAllThreads,
IDefaultAllocatorMetricCollector metric)
Constructs a thread-local caching allocator supporting all types of threads
threads.
|
ThreadLocalCachingAllocator(boolean direct,
int minCapacity,
IDefaultAllocatorMetricCollector metric)
Constructs a thread-local caching allocator with specified metric data
collector.
|
Modifier and Type | Class and Description |
---|---|
class |
AllocatorMetric |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.