@ConfigurationProperties(value="spring.cloud.gcp.spanner") public class GcpSpannerProperties extends Object implements CredentialsSupplier
Constructor and Description |
---|
GcpSpannerProperties() |
public Credentials getCredentials()
CredentialsSupplier
getCredentials
in interface CredentialsSupplier
public 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)
public boolean isCreateInterleavedTableDdlOnDeleteCascade()
public void setCreateInterleavedTableDdlOnDeleteCascade(boolean createInterleavedTableDdlOnDeleteCascade)
public boolean isFailIfPoolExhausted()
public void setFailIfPoolExhausted(boolean failIfPoolExhausted)
public String getEmulatorHost()
public void setEmulatorHost(String emulatorHost)
Copyright © 2021. All rights reserved.