@Service public class DistributedIdBlockStore extends Object implements org.onosproject.core.IdBlockStore
| Modifier and Type | Field and Description |
|---|---|
protected StoreService |
storeService |
protected com.hazelcast.core.HazelcastInstance |
theInstance |
protected Map<String,com.hazelcast.core.IAtomicLong> |
topicBlocks |
| Constructor and Description |
|---|
DistributedIdBlockStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
org.onosproject.core.IdBlock |
getIdBlock(String topic) |
@Reference(cardinality=MANDATORY_UNARY) protected StoreService storeService
protected com.hazelcast.core.HazelcastInstance theInstance
@Activate public void activate()
public org.onosproject.core.IdBlock getIdBlock(String topic)
getIdBlock in interface org.onosproject.core.IdBlockStoreCopyright © 2015. All rights reserved.