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
51 public void getAll(IRowVisitor visitor);
54 * Remove an entry from the DAO
57 * The key of the entry to delete
59 public void remove(Object key);
62 * Remove an entry from the DAO
65 * The key of the entry
69 public void removeSpecific(Object key, String valueKey);
72 * Clear the DAO and remove all of the entries.
74 public void removeAll();