public class DiscoveryEntryStorePersisted extends Object implements DiscoveryEntryStore
| Modifier and Type | Field and Description |
|---|---|
protected com.google.inject.Provider<javax.persistence.EntityManager> |
entityManagerProvider |
| Constructor and Description |
|---|
DiscoveryEntryStorePersisted(CapabilitiesProvisioning staticProvisioning,
com.google.inject.Provider<javax.persistence.EntityManager> entityManagerProvider,
com.google.inject.persist.PersistService persistService) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Collection<? extends joynr.types.DiscoveryEntry> entries) |
void |
add(joynr.types.DiscoveryEntry discoveryEntry) |
HashSet<joynr.types.DiscoveryEntry> |
getAllDiscoveryEntries() |
boolean |
hasDiscoveryEntry(joynr.types.DiscoveryEntry discoveryEntry) |
joynr.types.DiscoveryEntry |
lookup(String participantId,
long cacheMaxAge) |
Collection<joynr.types.DiscoveryEntry> |
lookup(String domain,
String interfaceName) |
Collection<joynr.types.DiscoveryEntry> |
lookup(String domain,
String interfaceName,
long cacheMaxAge) |
void |
remove(Collection<String> participantIds) |
boolean |
remove(String participantId) |
protected com.google.inject.Provider<javax.persistence.EntityManager> entityManagerProvider
@Inject public DiscoveryEntryStorePersisted(CapabilitiesProvisioning staticProvisioning, com.google.inject.Provider<javax.persistence.EntityManager> entityManagerProvider, com.google.inject.persist.PersistService persistService)
public void add(joynr.types.DiscoveryEntry discoveryEntry)
add in interface DiscoveryEntryStorepublic void add(Collection<? extends joynr.types.DiscoveryEntry> entries)
add in interface DiscoveryEntryStorepublic boolean remove(String participantId)
remove in interface DiscoveryEntryStorepublic void remove(Collection<String> participantIds)
remove in interface DiscoveryEntryStorepublic Collection<joynr.types.DiscoveryEntry> lookup(String domain, String interfaceName)
lookup in interface DiscoveryEntryStorepublic Collection<joynr.types.DiscoveryEntry> lookup(String domain, String interfaceName, long cacheMaxAge)
lookup in interface DiscoveryEntryStore@CheckForNull public joynr.types.DiscoveryEntry lookup(String participantId, long cacheMaxAge)
lookup in interface DiscoveryEntryStorepublic HashSet<joynr.types.DiscoveryEntry> getAllDiscoveryEntries()
getAllDiscoveryEntries in interface DiscoveryEntryStorepublic boolean hasDiscoveryEntry(@Nonnull joynr.types.DiscoveryEntry discoveryEntry)
hasDiscoveryEntry in interface DiscoveryEntryStoreCopyright © 2016. All rights reserved.