com.atlassian.mywork.service
Interface TimeoutService


public interface TimeoutService

Provides storage of polling period for UI clients.


Method Summary
 int getMaxTimeout()
           
 int getTimeout()
           
 void setMaxTimeout(int maxTimeout)
           
 void setTimeout(int timeout)
           
 

Method Detail

getTimeout

int getTimeout()
Returns:
the configured polling period for this host (in seconds).

setTimeout

void setTimeout(int timeout)
Parameters:
timeout - polling period to be stored (in seconds).

getMaxTimeout

int getMaxTimeout()
Returns:
the configured maximum polling period for this host (in seconds).

setMaxTimeout

void setMaxTimeout(int maxTimeout)
Parameters:
maxTimeout - maximum polling period to be stored (in seconds).


Copyright © 2013 Atlassian. All Rights Reserved.