@ConfigurationProperties(value="spring.cloud.gcp.spanner") public class GcpSpannerProperties extends Object implements CredentialsSupplier
| Constructor and Description |
|---|
GcpSpannerProperties() |
| Modifier and Type | Method and Description |
|---|---|
Credentials |
getCredentials()
Supplies credentials configuration.
|
String |
getDatabase() |
String |
getInstanceId() |
int |
getKeepAliveIntervalMinutes() |
int |
getMaxIdleSessions() |
int |
getMaxSessions() |
int |
getMinSessions() |
int |
getNumRpcChannels() |
int |
getPrefetchChunks() |
String |
getProjectId() |
float |
getWriteSessionsFraction() |
void |
setDatabase(String database) |
void |
setInstanceId(String instanceId) |
void |
setKeepAliveIntervalMinutes(int keepAliveIntervalMinutes) |
void |
setMaxIdleSessions(int maxIdleSessions) |
void |
setMaxSessions(int maxSessions) |
void |
setMinSessions(int minSessions) |
void |
setNumRpcChannels(int numRpcChannels) |
void |
setPrefetchChunks(int prefetchChunks) |
void |
setProjectId(String projectId) |
void |
setWriteSessionsFraction(float writeSessionsFraction) |
public Credentials getCredentials()
CredentialsSuppliergetCredentials in interface CredentialsSupplierpublic String getProjectId()
public void setProjectId(String projectId)
public String getInstanceId()
public void setInstanceId(String instanceId)
public String getDatabase()
public void setDatabase(String database)
public int getNumRpcChannels()
public void setNumRpcChannels(int numRpcChannels)
public int getPrefetchChunks()
public void setPrefetchChunks(int prefetchChunks)
public int getMinSessions()
public void setMinSessions(int minSessions)
public int getMaxSessions()
public void setMaxSessions(int maxSessions)
public int getMaxIdleSessions()
public void setMaxIdleSessions(int maxIdleSessions)
public float getWriteSessionsFraction()
public void setWriteSessionsFraction(float writeSessionsFraction)
public int getKeepAliveIntervalMinutes()
public void setKeepAliveIntervalMinutes(int keepAliveIntervalMinutes)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.