Class AppEngineDataStoreFactory.Builder (1.41.8)

public static class AppEngineDataStoreFactory.Builder

App Engine data store factory builder.

Implementation is not thread-safe.

Inheritance

java.lang.Object > AppEngineDataStoreFactory.Builder

Constructors

Builder()

public Builder()

Methods

build()

public AppEngineDataStoreFactory build()

Returns a new App Engine data store factory instance.

Returns
TypeDescription
AppEngineDataStoreFactory

getDisableMemcache()

public final boolean getDisableMemcache()

Returns whether to disable the memcache.

Returns
TypeDescription
boolean

getMemcacheExpiration()

public final Expiration getMemcacheExpiration()

Returns the Memcache expiration policy on puts.

Returns
TypeDescription
com.google.appengine.api.memcache.Expiration

setDisableMemcache(boolean disableMemcache)

public AppEngineDataStoreFactory.Builder setDisableMemcache(boolean disableMemcache)

Sets whether to disable the memcache (false by default).

Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.

Parameter
NameDescription
disableMemcacheboolean
Returns
TypeDescription
AppEngineDataStoreFactory.Builder

setMemcacheExpiration(Expiration memcacheExpiration)

public AppEngineDataStoreFactory.Builder setMemcacheExpiration(Expiration memcacheExpiration)

Sets the Memcache expiration policy on puts.

Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.

Parameter
NameDescription
memcacheExpirationcom.google.appengine.api.memcache.Expiration
Returns
TypeDescription
AppEngineDataStoreFactory.Builder