public class EventResource extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
String |
file
The file when the resource is a component of an index partition view (the
journal or index segment file) and an empty string when not known /
available.
|
String |
indexName
The name of the scale-out index and an empty string when not known /
available.
|
String |
partitionId
The index partition identifier and an empty string when not known /
available.
|
Constructor and Description |
---|
EventResource()
Ctor when there is no index resource for the event (the service on which
the event is generated is always supplied).
|
EventResource(IndexMetadata md)
Forgiving ctor that does the right thing when the
IndexMetadata
object exists. |
EventResource(IndexMetadata md,
File file)
Forgiving ctor does the right thing if the
IndexMetadata exists. |
EventResource(String indexName) |
EventResource(String indexName,
int partitionId) |
EventResource(String indexName,
int partitionId,
File file) |
EventResource(String indexName,
String partitionId,
String file) |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Formats the resource (indexName, partitionId, and file) in a manner
designed to give pleasing results when aggregating
Event s by
EventResource . |
public final String indexName
public final String partitionId
public final String file
public EventResource()
public EventResource(String indexName)
public EventResource(IndexMetadata md)
IndexMetadata
object exists.md
- public EventResource(String indexName, int partitionId)
public EventResource(IndexMetadata md, File file)
IndexMetadata
exists.md
- Optional.file
- Required.public String toString()
Event
s by
EventResource
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.