Revision 6471
Added by Matt Jones over 12 years ago
ObjectPathMap.java | ||
---|---|---|
1 | 1 |
package edu.ucsb.nceas.metacat.dataone.hazelcast; |
2 | 2 |
|
3 | 3 |
import java.util.Collection; |
4 |
import java.util.Collections; |
|
5 |
import java.util.HashSet; |
|
4 | 6 |
import java.util.Hashtable; |
7 |
import java.util.List; |
|
5 | 8 |
import java.util.Map; |
6 | 9 |
import java.util.Set; |
7 | 10 |
|
... | ... | |
74 | 77 |
* document on the local filesystem. Returns null if it can't |
75 | 78 |
* create the path. |
76 | 79 |
*/ |
80 |
@Override |
|
77 | 81 |
public String load(String key) |
78 | 82 |
{ |
79 | 83 |
|
... | ... | |
96 | 100 |
* mappings for all Identifiers in the parameters. Any Identifier not found |
97 | 101 |
* is not included in the resulting map. |
98 | 102 |
*/ |
103 |
@Override |
|
99 | 104 |
public Map<String, String> loadAll(Collection<String> identifiers) { |
100 | 105 |
|
101 | 106 |
|
... | ... | |
122 | 127 |
* (Hazelcast allows avoiding pre-loading by returning NULL, so will |
123 | 128 |
* do this to avoid pre-loading a very long list unnecessarily) |
124 | 129 |
*/ |
130 |
@Override |
|
125 | 131 |
public Set<String> loadAllKeys() |
126 | 132 |
{ |
127 | 133 |
return null; |
Also available in: Unified diff
Reverting previous @Overrides chanrge from r6470, as that is the desired
behavior under Java 1.6 -- previous versions of Java (e.g., 1.5) will not
comile with this usage of the @Overrides annotation, but the currently
supported version will. So reverting to the 1.6 convention.