DatastoreServiceConfig.Builder (Google App Engine API for Java)

Class DatastoreServiceConfig.Builder

  • java.lang.Object
    • Method Detail

      • withDeadline

        public static DatastoreServiceConfig withDeadline(double deadline)
        Create a DatastoreServiceConfig with the given deadline, in seconds.
        deadline - the deadline to set.
        The newly created DatastoreServiceConfig instance.
        java.lang.IllegalArgumentException - if deadline is not positive
      • withDefaults

        public static DatastoreServiceConfig withDefaults()
        Helper method for creating a DatastoreServiceConfig instance with default values: Implicit transactions are disabled, reads execute with ReadPolicy.Consistency.STRONG, and no deadline is provided. When no deadline is provided, datastore rpcs execute with the system-defined deadline.
        The newly created DatastoreServiceConfig instance.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Java