Class EmulatorSettings

java.lang.Object
com.google.cloud.spring.autoconfigure.datastore.EmulatorSettings

public class EmulatorSettings extends Object
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 Details

    • EmulatorSettings

      public EmulatorSettings()
  • Method Details

    • getDataDir

      public Path getDataDir()
    • setDataDir

      public void setDataDir(Path dataDir)
    • 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)