com.atlassian.mywork.host.service
Class TimeoutServiceImpl

java.lang.Object
  extended by com.atlassian.mywork.host.service.TimeoutServiceImpl
All Implemented Interfaces:
TimeoutService

public class TimeoutServiceImpl
extends java.lang.Object
implements TimeoutService


Constructor Summary
TimeoutServiceImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettings)
           
 
Method Summary
 int getMaxTimeout()
           
 int getTimeout()
           
 void setMaxTimeout(int maxTimeout)
           
 void setTimeout(int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeoutServiceImpl

public TimeoutServiceImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettings)
Method Detail

getTimeout

public int getTimeout()
Specified by:
getTimeout in interface TimeoutService
Returns:
the configured polling period for this host (in seconds).

setTimeout

public void setTimeout(int timeout)
Specified by:
setTimeout in interface TimeoutService
Parameters:
timeout - polling period to be stored (in seconds).

getMaxTimeout

public int getMaxTimeout()
Specified by:
getMaxTimeout in interface TimeoutService
Returns:
the configured maximum polling period for this host (in seconds).

setMaxTimeout

public void setMaxTimeout(int maxTimeout)
Specified by:
setMaxTimeout in interface TimeoutService
Parameters:
maxTimeout - maximum polling period to be stored (in seconds).


Copyright © 2012 Atlassian. All Rights Reserved.