Package akka.io
Class SimpleDnsCache.ExpiryEntry<K>
- java.lang.Object
-
- akka.io.SimpleDnsCache.ExpiryEntry<K>
-
- All Implemented Interfaces:
java.lang.Comparable<SimpleDnsCache.ExpiryEntry<K>>
,scala.math.Ordered<SimpleDnsCache.ExpiryEntry<K>>
- Enclosing class:
- SimpleDnsCache
public static class SimpleDnsCache.ExpiryEntry<K> extends java.lang.Object implements scala.math.Ordered<SimpleDnsCache.ExpiryEntry<K>>
-
-
Constructor Summary
Constructors Constructor Description ExpiryEntry(K name, long until)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(SimpleDnsCache.ExpiryEntry<K> that)
boolean
isValid(long clock)
K
name()
long
until()
-
-
-
Constructor Detail
-
ExpiryEntry
public ExpiryEntry(K name, long until)
-
-
Method Detail
-
compare
public int compare(SimpleDnsCache.ExpiryEntry<K> that)
- Specified by:
compare
in interfacescala.math.Ordered<K>
-
isValid
public boolean isValid(long clock)
-
name
public K name()
-
until
public long until()
-
-