class Expiring {

    public void expire () {
        expired = true;
    }

    public  Expiring(T object, Instant expiryTime);
    public  Expiring(T object, long millis);
    public  Expiring(T object, Duration objectDuration);

}