|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
org.mockserver.matchers.TimeToLive
public class TimeToLive
| Field Summary |
|---|
| Fields inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString |
|---|
logger |
| Method Summary | |
|---|---|
static TimeToLive |
exactly(TimeUnit timeUnit,
Long timeToLive)
|
Long |
getTimeToLive()
|
TimeUnit |
getTimeUnit()
|
boolean |
isUnlimited()
|
boolean |
stillAlive()
|
static TimeToLive |
unlimited()
|
| Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString |
|---|
addFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static TimeToLive unlimited()
public static TimeToLive exactly(TimeUnit timeUnit,
Long timeToLive)
public TimeUnit getTimeUnit()
public Long getTimeToLive()
public boolean isUnlimited()
public boolean stillAlive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||