blob: 5a1614c881e52110ce6f0e9f06d0f38a0d62ebd8 [file] [log] [blame]
Jian Li75642312017-01-19 14:23:05 -08001/*
2 * Copyright 2017-present Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.mapping;
17
Jian Li95edb592017-01-29 08:42:07 +090018import org.onosproject.store.Store;
19
Jian Li75642312017-01-19 14:23:05 -080020/**
21 * Interface of a distributed store for managing mapping information.
22 */
Jian Li95edb592017-01-29 08:42:07 +090023public interface MappingStore extends Store<MappingEvent, MappingStoreDelegate> {
Jian Lic7badf92017-02-02 19:43:46 +090024
25 enum Type {
26
27 /**
28 * Signifies that mapping information should be stored in map database.
29 */
30 MAP_DATABASE,
31
32 /**
33 * Signifies that mapping information should be stored in map cache.
34 */
35 MAP_CACHE
36 }
Jian Li75642312017-01-19 14:23:05 -080037}