public interface NodeCache
String
keys to values of type RecordId
. The mappings
can further be associated with a cost, which is a metric for the cost occurring when the
given mapping is lost. Higher values represent higher costs.Modifier and Type | Method and Description |
---|---|
RecordId |
get(String stableId) |
void |
put(String stableId,
RecordId recordId,
byte cost)
Add a mapping from
key to value with a given cost . |
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.