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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
boolean
int
getPort()
boolean
boolean
void
setConsistency
(double consistency) void
setDataDir
(Path dataDir) void
setEnabled
(boolean enabled) void
setFirestoreInDatastoreMode
(boolean useFirestoreInDatastoreMode) void
setPort
(int port) void
setStoreOnDisk
(boolean storeOnDisk)
-
Constructor Details
-
EmulatorSettings
public EmulatorSettings()
-
-
Method Details
-
getFirestoreInDatastoreMode
public boolean getFirestoreInDatastoreMode() -
setFirestoreInDatastoreMode
public void setFirestoreInDatastoreMode(boolean useFirestoreInDatastoreMode) -
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)
-