public Collection<Triple> call() throws Exception {
try {
/*
* get the entry, if available
*/
Entry res = p2pStorage.get(Identifier
.generate(locationKey));
if (res.getValueClassName().equals("cx.ath.troja.chordless.ChordSet")) {
cx.ath.troja.chordless.ChordSet<Triple> s = (ChordSet<Triple>) res
.getValue();
return s;
} else {
Logger.getLogger(getClass()).warn("Unknown type: " + res.getValueClassName());
}
return new LinkedList<Triple>();
} catch (NoSuchEntryException e) {
/*
* no entry found in local storage, so return empty list!