public class DefaultAtomicCounterBuilder extends Object implements org.onosproject.store.service.AtomicCounterBuilder
| Constructor and Description |
|---|
DefaultAtomicCounterBuilder(Database inMemoryDatabase,
Database partitionedDatabase) |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.store.service.AtomicCounter |
build() |
org.onosproject.store.service.AsyncAtomicCounter |
buildAsyncCounter() |
org.onosproject.store.service.AtomicCounterBuilder |
withName(String name) |
org.onosproject.store.service.AtomicCounterBuilder |
withPartitionsDisabled() |
org.onosproject.store.service.AtomicCounterBuilder |
withRetryExecutor(ScheduledExecutorService executor) |
org.onosproject.store.service.AtomicCounterBuilder |
withRetryOnFailure() |
public org.onosproject.store.service.AtomicCounterBuilder withName(String name)
withName in interface org.onosproject.store.service.AtomicCounterBuilderpublic org.onosproject.store.service.AtomicCounterBuilder withPartitionsDisabled()
withPartitionsDisabled in interface org.onosproject.store.service.AtomicCounterBuilderpublic org.onosproject.store.service.AtomicCounter build()
build in interface org.onosproject.store.service.AtomicCounterBuilderpublic org.onosproject.store.service.AsyncAtomicCounter buildAsyncCounter()
buildAsyncCounter in interface org.onosproject.store.service.AtomicCounterBuilderpublic org.onosproject.store.service.AtomicCounterBuilder withRetryOnFailure()
withRetryOnFailure in interface org.onosproject.store.service.AtomicCounterBuilderpublic org.onosproject.store.service.AtomicCounterBuilder withRetryExecutor(ScheduledExecutorService executor)
withRetryExecutor in interface org.onosproject.store.service.AtomicCounterBuilderCopyright © 2015. All rights reserved.