public class CapabilitiesDBCache extends Object implements CapabilitiesCache
Constructor and Description |
---|
CapabilitiesDBCache(android.database.sqlite.SQLiteOpenHelper helper) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getFeatures(String node) |
DiscoveryModule.Identity |
getIdentity(String node) |
Set<String> |
getNodesWithFeature(String feature) |
boolean |
isCached(String node) |
void |
store(String node,
String name,
String category,
String type,
Collection<String> features) |
public CapabilitiesDBCache(android.database.sqlite.SQLiteOpenHelper helper)
public Set<String> getFeatures(String node)
getFeatures
in interface CapabilitiesCache
public DiscoveryModule.Identity getIdentity(String node)
getIdentity
in interface CapabilitiesCache
public Set<String> getNodesWithFeature(String feature)
getNodesWithFeature
in interface CapabilitiesCache
public boolean isCached(String node)
isCached
in interface CapabilitiesCache
public void store(String node, String name, String category, String type, Collection<String> features)
store
in interface CapabilitiesCache
Copyright © 2006–2015 Tigase. All rights reserved.