|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.service.EventResource
public class EventResource
Semi-structured representation of the data service on which the event occurred, the name of the index, and the index partition identifier.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
String |
toString()
Formats the resource (indexName, partitionId, and file) in a manner designed to give pleasing results when aggregating Events by
EventResource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String indexName
public final String partitionId
public final String file
| Constructor Detail |
|---|
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 EventResource(String indexName,
int partitionId,
File file)
public EventResource(String indexName,
String partitionId,
String file)
| Method Detail |
|---|
public String toString()
Events by
EventResource.
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||