public static final class ReplicationCache.Factory extends Object
Modifier and Type | Method and Description |
---|---|
static ReplicationCache |
createCache()
Create
ReplicationCache . |
static ReplicationCache |
createCache(long expiration,
TimeUnit unit)
Create
ReplicationCache . |
public static ReplicationCache createCache()
ReplicationCache
.ReplicationCache
or null.public static ReplicationCache createCache(long expiration, TimeUnit unit)
ReplicationCache
.expiration
- Cache expirationunit
- the unit that expiration is expressed inReplicationCache
or null.Copyright © 2016–2017. All rights reserved.