io.lighty.aaa.config.DatastoreConfigurationConfig Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2018 PANTHEON.tech s.r.o. All Rights Reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at https://www.eclipse.org/legal/epl-v10.html
*/
package io.lighty.aaa.config;
import org.opendaylight.yang.gen.v1.urn.opendaylight.aaa.app.config.rev170619.DatastoreConfig;
import org.opendaylight.yang.gen.v1.urn.opendaylight.aaa.app.config.rev170619.DatastoreConfig.Store;
import org.opendaylight.yang.gen.v1.urn.opendaylight.aaa.app.config.rev170619.DatastoreConfigBuilder;
import org.opendaylight.yangtools.yang.common.Uint64;
public final class DatastoreConfigurationConfig {
private DatastoreConfigurationConfig() {
}
public static DatastoreConfig getDefault() {
return new DatastoreConfigBuilder().setStore(Store.H2DataStore).setTimeToLive(Uint64.valueOf("36000"))
.setTimeToWait(Uint64.valueOf("3600")).build();
}
}