public class RedisMetadataWriter extends Object implements MetadataWriter
Constructor and Description |
---|
RedisMetadataWriter(org.redisson.api.RScoredSortedSet<GeoWaveMetadata> set,
boolean requiresTimestamp) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush()
Flush the writer, committing all pending writes.
|
void |
write(GeoWaveMetadata metadata)
Write metadata to the table.
|
public RedisMetadataWriter(org.redisson.api.RScoredSortedSet<GeoWaveMetadata> set, boolean requiresTimestamp)
public void write(GeoWaveMetadata metadata)
MetadataWriter
write
in interface MetadataWriter
metadata
- The metadata.public void flush()
MetadataWriter
flush
in interface MetadataWriter
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2013–2020. All rights reserved.