public static class AppEngineDataStoreFactory.Builder
App Engine data store factory builder.
Implementation is not thread-safe.
Constructors
Builder()
public Builder()
Methods
build()
public AppEngineDataStoreFactory build()
Returns a new App Engine data store factory instance.
Type | Description |
AppEngineDataStoreFactory |
getDisableMemcache()
public final boolean getDisableMemcache()
Returns whether to disable the memcache.
Type | Description |
boolean |
getMemcacheExpiration()
public final Expiration getMemcacheExpiration()
Returns the Memcache expiration policy on puts.
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.
Name | Description |
disableMemcache | boolean |
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.
Name | Description |
memcacheExpiration | com.google.appengine.api.memcache.Expiration |
Type | Description |
AppEngineDataStoreFactory.Builder |