public class CassandraIndexer extends Object implements org.opennms.newts.api.search.Indexer
| Constructor and Description |
|---|
CassandraIndexer(CassandraSession session,
int ttl,
ResourceMetadataCache cache,
com.codahale.metrics.MetricRegistry registry,
CassandraIndexingOptions options,
ResourceIdSplitter resourceIdSplitter,
ContextConfigurations contextConfigurations) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(org.opennms.newts.api.Context context,
org.opennms.newts.api.Resource resource) |
void |
update(Collection<org.opennms.newts.api.Sample> samples) |
@Inject public CassandraIndexer(CassandraSession session, @Named(value="search.cassandra.time-to-live") int ttl, ResourceMetadataCache cache, com.codahale.metrics.MetricRegistry registry, CassandraIndexingOptions options, ResourceIdSplitter resourceIdSplitter, ContextConfigurations contextConfigurations)
public void update(Collection<org.opennms.newts.api.Sample> samples)
update in interface org.opennms.newts.api.search.Indexerpublic void delete(org.opennms.newts.api.Context context,
org.opennms.newts.api.Resource resource)
delete in interface org.opennms.newts.api.search.IndexerCopyright © 2017. All rights reserved.