public static class AppEngineDataStoreFactory.Builder extends Object
Implementation is not thread-safe.
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AppEngineDataStoreFactory |
build()
Returns a new App Engine data store factory instance.
|
boolean |
getDisableMemcache()
Returns whether to disable the memcache.
|
Expiration |
getMemcacheExpiration()
Returns the Memcache expiration policy on puts.
|
AppEngineDataStoreFactory.Builder |
setDisableMemcache(boolean disableMemcache)
Sets whether to disable the memcache (
false by default). |
AppEngineDataStoreFactory.Builder |
setMemcacheExpiration(Expiration memcacheExpiration)
Sets the Memcache expiration policy on puts.
|
public final boolean getDisableMemcache()
public AppEngineDataStoreFactory.Builder setDisableMemcache(boolean disableMemcache)
false
by default).
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public final Expiration getMemcacheExpiration()
public AppEngineDataStoreFactory.Builder setMemcacheExpiration(Expiration memcacheExpiration)
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public AppEngineDataStoreFactory build()
Copyright © 2011–2019 Google. All rights reserved.