public static < T > Memoizer < T > create ( Callable < T > getter , long duration , TimeUnit unit ) { return new Memoizer <> ( getter , duration , unit ) ; }
Create a memoizer that caches the value produced by getter for a given duration .