org.atmosphere.jersey
Class SuspendResponse.TimeSpan

java.lang.Object
  extended by org.atmosphere.jersey.SuspendResponse.TimeSpan
Enclosing class:
SuspendResponse<E>

public static class SuspendResponse.TimeSpan
extends Object

Util class that encapsulate a period and a TimeUnit.


Constructor Summary
SuspendResponse.TimeSpan(int period, TimeUnit timeUnit)
           
 
Method Summary
 TimeUnit timeUnit()
           
 int value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuspendResponse.TimeSpan

public SuspendResponse.TimeSpan(int period,
                                TimeUnit timeUnit)
Method Detail

value

public int value()

timeUnit

public TimeUnit timeUnit()


Copyright © 2012. All Rights Reserved.