Package step.repositories.http
Class RepositoryCache.Entry<V>
- java.lang.Object
-
- step.repositories.http.RepositoryCache.Entry<V>
-
- Enclosing class:
- RepositoryCache<V>
public static class RepositoryCache.Entry<V> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Entry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getUsage()
Get the internal usage field.V
getValue()
Retrieve the cache entry
-
-
-
Method Detail
-
getUsage
public int getUsage()
Get the internal usage field.- Returns:
- how many time
lock()
has been called without a corresponding call torelease()
-
getValue
public V getValue()
Retrieve the cache entry- Returns:
- the cache entry
-
-