/** * Check if the real time timeout flag is set for a platform. */ public static synchronized boolean isRealtimeTimeout(IComponentIdentifier platform) { // Hack!!! Should default to false? return !Boolean.FALSE.equals(getPlatformValue(platform, StarterConfiguration.DATA_REALTIMETIMEOUT)); }
/** * Check if the parameter copy flag is set for a platform. */ public static synchronized boolean isParameterCopy(IComponentIdentifier platform) { // not equals false to make true the default. return !Boolean.FALSE.equals(getPlatformValue(platform, StarterConfiguration.DATA_PARAMETERCOPY)); }
/** * 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; }