Class AppEngineDataStoreFactory.Builder (1.44.2)

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
Type Description
AppEngineDataStoreFactory

getDisableMemcache()

public final boolean getDisableMemcache()

Returns whether to disable the memcache.

Returns
Type Description
boolean

getMemcacheExpiration()

public final Expiration getMemcacheExpiration()

Returns the Memcache expiration policy on puts.

Returns
Type Description
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
Name Description
disableMemcache boolean
Returns
Type Description
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
Name Description
memcacheExpiration com.google.appengine.api.memcache.Expiration
Returns
Type Description
AppEngineDataStoreFactory.Builder