Add tracing for time that is spent on read/write of account patch reviews
Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: If0802166af6634ed3d5a58316a85a7260375a534
This commit is contained in:
@@ -56,6 +56,9 @@ public abstract class Metadata {
|
||||
// The value of the @Export annotation which was used to register a plugin extension.
|
||||
public abstract Optional<String> exportValue();
|
||||
|
||||
// Path of a file in a repository.
|
||||
public abstract Optional<String> filePath();
|
||||
|
||||
// Garbage collector name.
|
||||
public abstract Optional<String> garbageCollectorName();
|
||||
|
||||
@@ -98,6 +101,9 @@ public abstract class Metadata {
|
||||
// Name of a "table" in NoteDb (if set, always CHANGES).
|
||||
public abstract Optional<String> noteDbTable();
|
||||
|
||||
// The ID of a patch set.
|
||||
public abstract Optional<Integer> patchSetId();
|
||||
|
||||
// Plugin metadata that doesn't fit into any other category.
|
||||
public abstract ImmutableList<PluginMetadata> pluginMetadata();
|
||||
|
||||
@@ -154,6 +160,8 @@ public abstract class Metadata {
|
||||
|
||||
public abstract Builder exportValue(@Nullable String exportValue);
|
||||
|
||||
public abstract Builder filePath(@Nullable String filePath);
|
||||
|
||||
public abstract Builder garbageCollectorName(@Nullable String garbageCollectorName);
|
||||
|
||||
public abstract Builder gitOperation(@Nullable String gitOperation);
|
||||
@@ -182,6 +190,8 @@ public abstract class Metadata {
|
||||
|
||||
public abstract Builder noteDbTable(@Nullable String noteDbTable);
|
||||
|
||||
public abstract Builder patchSetId(int patchSetId);
|
||||
|
||||
abstract ImmutableList.Builder<PluginMetadata> pluginMetadataBuilder();
|
||||
|
||||
public Builder addPluginMetadata(PluginMetadata pluginMetadata) {
|
||||
|
||||
Reference in New Issue
Block a user