public static class Machine.RequestAge extends Object implements com.google.common.base.Function<Machine,com.google.common.base.Optional<Long>>
Function that optionally returns the number of milliseconds of
how long ago the request to start a given Machine was made. Since
not all cloud infrastructures support returning this value, the return
value from the function is Optional.| Constructor and Description |
|---|
RequestAge(org.joda.time.DateTime now)
Creates a new instance that sets the current time to a particular
value.
|
Copyright © 2011–2017 Elastisys. All rights reserved.