tom | dc66b38 | 2014-09-22 17:05:47 -0700 | [diff] [blame] | 1 | package org.onlab.onos.store; |
2 | |||||
3 | import com.hazelcast.core.HazelcastInstance; | ||||
4 | |||||
5 | /** | ||||
6 | * Bootstrap service to get a handle on a share Hazelcast instance. | ||||
7 | */ | ||||
8 | public interface StoreService { | ||||
9 | |||||
10 | /** | ||||
11 | * Returns the shared Hazelcast instance for use as a distributed store | ||||
12 | * backing. | ||||
13 | * | ||||
14 | * @return shared Hazelcast instance | ||||
15 | */ | ||||
16 | HazelcastInstance getHazelcastInstance(); | ||||
17 | |||||
18 | } |