/** * Get the remote default timeout. */ public static synchronized long getRemoteDefaultTimeout(IComponentIdentifier platform) { if(platform==null) return StarterConfiguration.DEFAULT_REMOTE_TIMEOUT; platform = platform.getRoot(); return hasPlatformValue(platform, DATA_DEFAULT_REMOTE_TIMEOUT)? ((Long)getPlatformValue(platform, DATA_DEFAULT_REMOTE_TIMEOUT)).longValue(): StarterConfiguration.DEFAULT_REMOTE_TIMEOUT; }
/** * Get the local default timeout. */ public static synchronized long getLocalDefaultTimeout(IComponentIdentifier platform) { if(platform==null) return StarterConfiguration.DEFAULT_LOCAL_TIMEOUT; platform = platform.getRoot(); return hasPlatformValue(platform, DATA_DEFAULT_LOCAL_TIMEOUT)? ((Long)getPlatformValue(platform, DATA_DEFAULT_LOCAL_TIMEOUT)).longValue(): StarterConfiguration.DEFAULT_LOCAL_TIMEOUT; }