On Wed, 2017-03-29 at 13:55 -0700, Gary Gregory wrote:
> On Wed, Mar 29, 2017 at 1:50 PM, Gary Gregory <garydgreg...@gmail.com
> >
> wrote:
> 
> > I really want to do this TimeValue thing but when I look at Java 8,
> > I see
> > the Duration class.
> > 
> > So why not move HC to Java 8? Why are we hung up on Java 7?
> > 
> 
> FWIW, for Java 7, I am thinking of something like this:
> 

Looks good to me. Please do use Args.notNull to ensure that timeUnit is
valid, though.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to