public interface FileLinesContext
save()
several times.
Instances of this interface can be obtained using FileLinesContextFactory
.
This interface is not intended to be implemented by clients.
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getIntValue(java.lang.String metricKey,
int line)
Deprecated.
since 5.0 sensors should not read data
|
java.lang.String |
getStringValue(java.lang.String metricKey,
int line)
Deprecated.
since 5.0 sensors should not read data
|
void |
save()
Saves unsaved values.
|
void |
setIntValue(java.lang.String metricKey,
int line,
int value) |
void |
setStringValue(java.lang.String metricKey,
int line,
java.lang.String value) |
void setIntValue(java.lang.String metricKey, int line, int value)
java.lang.UnsupportedOperationException
- on attempt to update already saved data@Deprecated java.lang.Integer getIntValue(java.lang.String metricKey, int line)
void setStringValue(java.lang.String metricKey, int line, java.lang.String value)
java.lang.UnsupportedOperationException
- on attempt to update already saved data@Deprecated java.lang.String getStringValue(java.lang.String metricKey, int line)
void save()