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.
Oliko tästä sivusta apua? Kerro mielipiteesi

Palautteen aihe:

Tämä sivu
App Engine standard environment for Java 8