public class LegacyServiceSettingsBuilder extends Object
LegacyServiceSettings instances.| Constructor and Description |
|---|
LegacyServiceSettingsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
LegacyServiceSettings |
build()
Returns a new
LegacyServiceSettings instance configured using the supplied settings. |
LegacyServiceSettingsBuilder |
enableAvoidCasOperations()
Enable avoiding the use of CAS-style operations.
|
LegacyServiceSettingsBuilder |
enableSerializationHack()
Enable the serialization hack, whereby if an
ExternalCache's values are
Serializable, then the values are not marshalled before they are passed to the delegate
Atlassian Cache. |
LegacyServiceSettingsBuilder |
lockTimeout(Duration lockTimeout)
Change the timeout that is used when acquiring locks.
|
public LegacyServiceSettings build()
LegacyServiceSettings instance configured using the supplied settings.LegacyServiceSettings instance configured using the supplied settings.public LegacyServiceSettingsBuilder enableAvoidCasOperations()
public LegacyServiceSettingsBuilder enableSerializationHack()
ExternalCache's values are
Serializable, then the values are not marshalled before they are passed to the delegate
Atlassian Cache. This is to allow for performance optimisations.public LegacyServiceSettingsBuilder lockTimeout(Duration lockTimeout)
lockTimeout - the timeout that is used when acquiring locks.Copyright © 2019 Atlassian. All rights reserved.