public interface IMapCache
| Modifier and Type | Method and Description |
|---|---|
void |
addData(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key,
String subKey,
Object data)
Add data for key.
|
void |
addMapping(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key,
Object value)
Add mapping.
|
Object |
getData(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key,
String subKey)
Generic retrieval of data.
|
Object |
getMapping(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid srcKey,
org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid dstKey)
Retrieves mapping for the provided srcKey and dstKey.
|
org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid |
getWidestNegativeMapping(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key)
Retrieves widest negative prefix.
|
String |
printMappings()
Print mappings in cache.
|
void |
removeData(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key,
String subKey)
Generic removal of data.
|
void |
removeMapping(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key)
Remove mapping.
|
void addMapping(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key,
Object value)
key - Key of the mappingvalue - Value to be storedObject getMapping(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid srcKey, org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid dstKey)
srcKey - Source Key to be looked updstKey - Destination Key to be looked uporg.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid getWidestNegativeMapping(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key)
key - Source Key to be looked upvoid removeMapping(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key)
key - Key to be removedvoid addData(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key,
String subKey,
Object data)
key - The key for which data is insertedsubKey - The subKey where data should be inserteddata - The data to be storedObject getData(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key, String subKey)
key - The key where the data is storedsubKey - The subKey where data is storedvoid removeData(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key,
String subKey)
key - The key of the data to be removedsubKey - The subKey of the data to be removedString printMappings()
Copyright © 2018 OpenDaylight. All rights reserved.