public class TemplateKey extends Object
Constructor and Description |
---|
TemplateKey(SocketAddress remoteAddress,
long sourceId,
int templateId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
SocketAddress |
getRemoteAddress() |
long |
getSourceId() |
int |
getTemplateId() |
int |
hashCode() |
static TemplateKey |
idForExporter(SocketAddress remoteAddress,
long sourceId)
A key usable for identifying netflow exporters, when the template id is irrelevant.
|
String |
toString() |
public TemplateKey(SocketAddress remoteAddress, long sourceId, int templateId)
public static TemplateKey idForExporter(SocketAddress remoteAddress, long sourceId)
remoteAddress
- the exporters addresssourceId
- the observation idpublic SocketAddress getRemoteAddress()
public long getSourceId()
public int getTemplateId()
Copyright © 2012–2020 Graylog, Inc.. All rights reserved.