Class ReplicationCache.Factory
- java.lang.Object
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.replication.ReplicationCache.Factory
-
- Enclosing class:
- ReplicationCache
public static final class ReplicationCache.Factory extends Object
A factory class for ReplicationCache.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReplicationCache
createCache()
CreateReplicationCache
.static ReplicationCache
createCache(long expiration, TimeUnit unit)
CreateReplicationCache
.
-
-
-
Method Detail
-
createCache
public static ReplicationCache createCache()
CreateReplicationCache
.- Returns:
- the instance of
ReplicationCache
or null.
-
createCache
public static ReplicationCache createCache(long expiration, TimeUnit unit)
CreateReplicationCache
.- Parameters:
expiration
- Cache expirationunit
- the unit that expiration is expressed in- Returns:
- the instance of
ReplicationCache
or null.
-
-