Module io.github.bucket4j.core
Class SQLProxyConfiguration<K>
- java.lang.Object
-
- io.github.bucket4j.distributed.jdbc.SQLProxyConfiguration<K>
-
public class SQLProxyConfiguration<K> extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SQLProxyConfigurationBuilder<Long>builder()ClientSideConfiggetClientSideConfig()DataSourcegetDataSource()StringgetIdName()PrimaryKeyMapper<K>getPrimaryKeyMapper()StringgetStateName()StringgetTableName()
-
-
-
Method Detail
-
builder
public static SQLProxyConfigurationBuilder<Long> builder()
- Returns:
- the new instance of
SQLProxyConfigurationBuilderconfigured withPrimaryKeyMapper.LONGprimary key mapper
-
getIdName
public String getIdName()
-
getStateName
public String getStateName()
-
getTableName
public String getTableName()
-
getDataSource
public DataSource getDataSource()
-
getClientSideConfig
public ClientSideConfig getClientSideConfig()
-
getPrimaryKeyMapper
public PrimaryKeyMapper<K> getPrimaryKeyMapper()
-
-