public static class MetricsDirectoryFactory.MetricsOutput extends IndexOutput
Constructor and Description |
---|
MetricsOutput(com.codahale.metrics.Meter totalMeter,
com.codahale.metrics.Histogram totalHistogram,
SolrMetricManager metricManager,
String registry,
String metricName,
IndexOutput in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getChecksum() |
long |
getFilePointer() |
void |
writeByte(byte b) |
void |
writeBytes(byte[] b,
int offset,
int length) |
getName, toString
copyBytes, writeBytes, writeInt, writeLong, writeMapOfStrings, writeSetOfStrings, writeShort, writeString, writeStringSet, writeStringStringMap, writeVInt, writeVLong, writeZInt, writeZLong
public MetricsOutput(com.codahale.metrics.Meter totalMeter, com.codahale.metrics.Histogram totalHistogram, SolrMetricManager metricManager, String registry, String metricName, IndexOutput in)
public void writeByte(byte b) throws IOException
writeByte
in class DataOutput
IOException
public void writeBytes(byte[] b, int offset, int length) throws IOException
writeBytes
in class DataOutput
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class IndexOutput
IOException
public long getFilePointer()
getFilePointer
in class IndexOutput
public long getChecksum() throws IOException
getChecksum
in class IndexOutput
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.