public abstract class AbstractRedisSetWrapper<A,S> extends Object implements AutoCloseable
| Constructor and Description |
|---|
AbstractRedisSetWrapper(org.redisson.api.RedissonClient client,
String setName,
org.redisson.client.codec.Codec codec) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
protected A |
getCurrentAsyncCollection() |
protected S |
getCurrentSyncCollection() |
protected abstract A |
initAsyncCollection(org.redisson.api.RBatch batch,
String setName,
org.redisson.client.codec.Codec codec) |
protected abstract S |
initSyncCollection(org.redisson.api.RedissonClient client,
String setName,
org.redisson.client.codec.Codec codec) |
protected void |
preAdd() |
public AbstractRedisSetWrapper(org.redisson.api.RedissonClient client,
String setName,
org.redisson.client.codec.Codec codec)
public void flush()
protected S getCurrentSyncCollection()
protected A getCurrentAsyncCollection()
protected abstract A initAsyncCollection(org.redisson.api.RBatch batch, String setName, org.redisson.client.codec.Codec codec)
protected abstract S initSyncCollection(org.redisson.api.RedissonClient client, String setName, org.redisson.client.codec.Codec codec)
protected void preAdd()
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2013–2020. All rights reserved.