2 * Copyright (c) 2014 Contextream, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.lispflowmapping.interfaces.dao;
13 public interface ILispDAO {
16 * Put a entry into the DAO.
23 public void put(Object key, MappingEntry<?>... values);
26 * Get a specific value from the DAO.
29 * The key of the value to fetch
32 * @return The value from the DAO.
34 public Object getSpecific(Object key, String valueKey);
37 * Get the entries from the DAO
41 * @return The value from the DAO.
43 public Map<String, Object> get(Object key);
46 * Enumerate all the entries from the DAO
50 public void getAll(IRowVisitor visitor);
53 * Remove an entry from the DAO
55 public void remove(Object key);
58 * Remove an entry from the DAO
61 * The key of the entry
65 public void removeSpecific(Object key, String valueKey);
68 * Clear the DAO and remove all of the entries.
70 public void removeAll();