private static void setupHibernateTimeoutBehavior(NonstopConfiguration nonstopConfig) { nonstopConfig.getTimeoutBehavior().setType(TimeoutBehaviorType.EXCEPTION.getTypeName()); }
/** * Set the type of timeout behavior * * @param type */ public void setType(String type) { if (!TimeoutBehaviorType.isValidTimeoutBehaviorType(type)) { throw new CacheException("Invalid value for timeoutBehavior type - '" + type + "'. Valid values are: '" + TimeoutBehaviorType.EXCEPTION.getTypeName() + "', '" + TimeoutBehaviorType.NOOP.getTypeName() + "', '" + TimeoutBehaviorType.LOCAL_READS.getTypeName()); } this.type = TimeoutBehaviorType.getTimeoutBehaviorTypeFromName(type); }
private static void setupHibernateTimeoutBehavior(NonstopConfiguration nonstopConfig) { nonstopConfig.getTimeoutBehavior().setType(TimeoutBehaviorType.EXCEPTION.getTypeName()); }
private static void setupHibernateTimeoutBehavior(NonstopConfiguration nonstopConfig) { nonstopConfig.getTimeoutBehavior().setType(TimeoutBehaviorType.EXCEPTION.getTypeName()); }
/** * Returns the type of timeout behavior configured * * @return the configured type */ public String getType() { return type.getTypeName(); }
/** * Set the type of timeout behavior * * @param type */ public void setType(String type) { if (!TimeoutBehaviorType.isValidTimeoutBehaviorType(type)) { throw new CacheException("Invalid value for timeoutBehavior type - '" + type + "'. Valid values are: '" + TimeoutBehaviorType.EXCEPTION.getTypeName() + "', '" + TimeoutBehaviorType.NOOP.getTypeName() + "', '" + TimeoutBehaviorType.LOCAL_READS.getTypeName()); } this.type = TimeoutBehaviorType.getTimeoutBehaviorTypeFromName(type); }
private static void setupHibernateTimeoutBehavior(NonstopConfiguration nonstopConfig) { nonstopConfig.getTimeoutBehavior().setType( TimeoutBehaviorType.EXCEPTION.getTypeName() ); } }
/** * Set the type of timeout behavior * * @param type */ public void setType(String type) { if (!TimeoutBehaviorType.isValidTimeoutBehaviorType(type)) { throw new CacheException("Invalid value for timeoutBehavior type - '" + type + "'. Valid values are: '" + TimeoutBehaviorType.EXCEPTION.getTypeName() + "', '" + TimeoutBehaviorType.NOOP.getTypeName() + "', '" + TimeoutBehaviorType.LOCAL_READS.getTypeName()); } this.type = TimeoutBehaviorType.getTimeoutBehaviorTypeFromName(type); }
/** * Returns the type of timeout behavior configured * * @return the configured type */ public String getType() { return type.getTypeName(); }
/** * Returns the type of timeout behavior configured * * @return the configured type */ public String getType() { return type.getTypeName(); }
private static void setupHibernateTimeoutBehavior(NonstopConfiguration nonstopConfig) { nonstopConfig.getTimeoutBehavior().setType(TimeoutBehaviorType.EXCEPTION.getTypeName()); }
/** * Set the type of timeout behavior * * @param type */ public void setType(String type) { if (!TimeoutBehaviorType.isValidTimeoutBehaviorType(type)) { throw new CacheException("Invalid value for timeoutBehavior type - '" + type + "'. Valid values are: '" + TimeoutBehaviorType.EXCEPTION.getTypeName() + "', '" + TimeoutBehaviorType.NOOP.getTypeName() + "', '" + TimeoutBehaviorType.LOCAL_READS.getTypeName()); } this.type = TimeoutBehaviorType.getTimeoutBehaviorTypeFromName(type); }
/** * Returns the type of timeout behavior configured * * @return the configured type */ public String getType() { return type.getTypeName(); }
private static void setupHibernateTimeoutBehavior(NonstopConfiguration nonstopConfig) { nonstopConfig.getTimeoutBehavior().setType( TimeoutBehaviorType.EXCEPTION.getTypeName() ); } }