Package | Description |
---|---|
org.spf4j.perf.impl | |
org.spf4j.perf.impl.ms | |
org.spf4j.perf.impl.ms.graphite | |
org.spf4j.pool.jdbc | |
org.spf4j.recyclable | |
org.spf4j.recyclable.impl |
Modifier and Type | Method and Description |
---|---|
static MeasurementRecorder |
RecorderFactory.createDirectGraphiteTcpRecorder(Object forWhat,
String unitOfMeasurement,
String graphiteHost,
int graphitePort) |
static MeasurementRecorder |
RecorderFactory.createDirectGraphiteUdpRecorder(Object forWhat,
String unitOfMeasurement,
String graphiteHost,
int graphitePort) |
static MeasurementStore |
RecorderFactory.fromString(String string) |
Modifier and Type | Method and Description |
---|---|
MeasurementStore |
StoreFactory.create(String config) |
MeasurementStore |
StoreType.create(String configuration) |
Constructor and Description |
---|
GraphiteTcpStore(String hostPort) |
GraphiteTcpStore(String hostName,
int port) |
GraphiteTcpStore(String hostName,
int port,
SocketFactory socketFactory) |
GraphiteTcpStore(URI uri) |
GraphiteUdpStore(String hostPort) |
GraphiteUdpStore(String hostName,
int port) |
GraphiteUdpStore(URI uri) |
Modifier and Type | Method and Description |
---|---|
Connection |
JdbcConnectionFactory.create() |
Constructor and Description |
---|
PooledDataSource(int initialSize,
int maxSize,
RecyclingSupplier.Factory<Connection> jdbcConnectionFactory) |
PooledDataSource(int initialSize,
int maxSize,
String driverName,
String url,
Properties properties,
int loginTimeoutSeconds) |
PooledDataSource(int initialSize,
int maxSize,
String driverName,
String url,
String user,
String password) |
Modifier and Type | Method and Description |
---|---|
T |
RecyclingSupplier.Factory.create()
create the object.
|
default T |
RecyclingSupplier.get() |
T |
NonValidatingRecyclingSupplier.get()
block until a object is available and return it.
|
default T |
RecyclingSupplier.get(long timeout,
TimeUnit unit) |
default T |
SmartRecyclingSupplier.get(ObjectBorower borower)
Borrow object from pool.
|
default T |
SmartRecyclingSupplier.get(ObjectBorower borower,
long timeout,
TimeUnit unit) |
T |
RecyclingSupplier.tryGet(long deadlineNanos) |
default T |
RecyclingSupplier.tryGet(long timeout,
TimeUnit unit) |
T |
SmartRecyclingSupplier.tryGet(ObjectBorower borower,
long deadlineNanos) |
default T |
SmartRecyclingSupplier.tryGet(ObjectBorower borower,
long timeout,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
T |
ObjectHolder.borrowOrCreateObjectIfPossible() |
RecyclingSupplier<T> |
RecyclingSupplierBuilder.build() |
ObjectHolder<T> |
ObjectHolderFactory.create() |
T |
SharingObjectPool.tryGet(long deadlineNanos) |
Constructor and Description |
---|
ObjectHolderFactory(int precreateNumber,
RecyclingSupplier.Factory<T> factory) |
SharingObjectPool(RecyclingSupplier.Factory<T> factory,
int coreSize,
int maxSize) |
SharingObjectPool(RecyclingSupplier.Factory<T> factory,
int coreSize,
int maxSize,
boolean asyncValidate) |
Copyright © 2018 SPF4J. All rights reserved.