Class EmulatorSettings
java.lang.Object
com.google.cloud.spring.autoconfigure.datastore.EmulatorSettings
Properties for configuring Cloud Datastore Emulator.
See https://cloud.google.com/sdk/gcloud/reference/beta/emulators/datastore/start for the correspondent properties
- Since:
- 1.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
int
getPort()
boolean
boolean
void
setConsistency
(double consistency) void
setDataDir
(Path dataDir) void
setEnabled
(boolean enabled) void
setPort
(int port) void
setStoreOnDisk
(boolean storeOnDisk)
-
Constructor Details
-
EmulatorSettings
public EmulatorSettings()
-
-
Method Details
-
getDataDir
-
setDataDir
-
isStoreOnDisk
public boolean isStoreOnDisk() -
setStoreOnDisk
public void setStoreOnDisk(boolean storeOnDisk) -
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getPort
public int getPort() -
setPort
public void setPort(int port) -
getConsistency
public double getConsistency() -
setConsistency
public void setConsistency(double consistency)
-