ProcessThreadInfoInner Class

public final class ProcessThreadInfoInner
extends ProxyOnlyResource

Process Thread Information.

Constructor Summary

Constructor Description
ProcessThreadInfoInner()

Creates an instance of ProcessThreadInfoInner class.

Method Summary

Modifier and Type Method and Description
Integer basePriority()

Get the basePriority property: Base priority.

Integer currentPriority()

Get the currentPriority property: Current thread priority.

static ProcessThreadInfoInner fromJson(JsonReader jsonReader)

Reads an instance of ProcessThreadInfoInner from the JsonReader.

String href()

Get the href property: HRef URI.

String id()

Get the id property: Fully qualified resource Id for the resource.

Integer identifier()

Get the identifier property: Site extension ID.

String name()

Get the name property: The name of the resource.

String priorityLevel()

Get the priorityLevel property: Thread priority level.

String process()

Get the process property: Process URI.

String startAddress()

Get the startAddress property: Start address.

OffsetDateTime startTime()

Get the startTime property: Start time.

String state()

Get the state property: Thread state.

JsonWriter toJson(JsonWriter jsonWriter)
String totalProcessorTime()

Get the totalProcessorTime property: Total processor time.

String type()

Get the type property: The type of the resource.

String userProcessorTime()

Get the userProcessorTime property: User processor time.

void validate()

Validates the instance.

String waitReason()

Get the waitReason property: Wait reason.

ProcessThreadInfoInner withBasePriority(Integer basePriority)

Set the basePriority property: Base priority.

ProcessThreadInfoInner withCurrentPriority(Integer currentPriority)

Set the currentPriority property: Current thread priority.

ProcessThreadInfoInner withHref(String href)

Set the href property: HRef URI.

ProcessThreadInfoInner withKind(String kind)

Set the kind property: Kind of resource.

ProcessThreadInfoInner withPriorityLevel(String priorityLevel)

Set the priorityLevel property: Thread priority level.

ProcessThreadInfoInner withProcess(String process)

Set the process property: Process URI.

ProcessThreadInfoInner withStartAddress(String startAddress)

Set the startAddress property: Start address.

ProcessThreadInfoInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Start time.

ProcessThreadInfoInner withState(String state)

Set the state property: Thread state.

ProcessThreadInfoInner withTotalProcessorTime(String totalProcessorTime)

Set the totalProcessorTime property: Total processor time.

ProcessThreadInfoInner withUserProcessorTime(String userProcessorTime)

Set the userProcessorTime property: User processor time.

ProcessThreadInfoInner withWaitReason(String waitReason)

Set the waitReason property: Wait reason.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

ProcessThreadInfoInner

public ProcessThreadInfoInner()

Creates an instance of ProcessThreadInfoInner class.

Method Details

basePriority

public Integer basePriority()

Get the basePriority property: Base priority.

Returns:

the basePriority value.

currentPriority

public Integer currentPriority()

Get the currentPriority property: Current thread priority.

Returns:

the currentPriority value.

fromJson

public static ProcessThreadInfoInner fromJson(JsonReader jsonReader)

Reads an instance of ProcessThreadInfoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProcessThreadInfoInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

href

public String href()

Get the href property: HRef URI.

Returns:

the href value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ProcessThreadInfoInner.id()

Returns:

the id value.

identifier

public Integer identifier()

Get the identifier property: Site extension ID.

Returns:

the identifier value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ProcessThreadInfoInner.name()

Returns:

the name value.

priorityLevel

public String priorityLevel()

Get the priorityLevel property: Thread priority level.

Returns:

the priorityLevel value.

process

public String process()

Get the process property: Process URI.

Returns:

the process value.

startAddress

public String startAddress()

Get the startAddress property: Start address.

Returns:

the startAddress value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Start time.

Returns:

the startTime value.

state

public String state()

Get the state property: Thread state.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ProcessThreadInfoInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalProcessorTime

public String totalProcessorTime()

Get the totalProcessorTime property: Total processor time.

Returns:

the totalProcessorTime value.

type

public String type()

Get the type property: The type of the resource.

Overrides:

ProcessThreadInfoInner.type()

Returns:

the type value.

userProcessorTime

public String userProcessorTime()

Get the userProcessorTime property: User processor time.

Returns:

the userProcessorTime value.

validate

public void validate()

Validates the instance.

Overrides:

ProcessThreadInfoInner.validate()

waitReason

public String waitReason()

Get the waitReason property: Wait reason.

Returns:

the waitReason value.

withBasePriority

public ProcessThreadInfoInner withBasePriority(Integer basePriority)

Set the basePriority property: Base priority.

Parameters:

basePriority - the basePriority value to set.

Returns:

the ProcessThreadInfoInner object itself.

withCurrentPriority

public ProcessThreadInfoInner withCurrentPriority(Integer currentPriority)

Set the currentPriority property: Current thread priority.

Parameters:

currentPriority - the currentPriority value to set.

Returns:

the ProcessThreadInfoInner object itself.

withHref

public ProcessThreadInfoInner withHref(String href)

Set the href property: HRef URI.

Parameters:

href - the href value to set.

Returns:

the ProcessThreadInfoInner object itself.

withKind

public ProcessThreadInfoInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

ProcessThreadInfoInner.withKind(String kind)

Parameters:

kind

withPriorityLevel

public ProcessThreadInfoInner withPriorityLevel(String priorityLevel)

Set the priorityLevel property: Thread priority level.

Parameters:

priorityLevel - the priorityLevel value to set.

Returns:

the ProcessThreadInfoInner object itself.

withProcess

public ProcessThreadInfoInner withProcess(String process)

Set the process property: Process URI.

Parameters:

process - the process value to set.

Returns:

the ProcessThreadInfoInner object itself.

withStartAddress

public ProcessThreadInfoInner withStartAddress(String startAddress)

Set the startAddress property: Start address.

Parameters:

startAddress - the startAddress value to set.

Returns:

the ProcessThreadInfoInner object itself.

withStartTime

public ProcessThreadInfoInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Start time.

Parameters:

startTime - the startTime value to set.

Returns:

the ProcessThreadInfoInner object itself.

withState

public ProcessThreadInfoInner withState(String state)

Set the state property: Thread state.

Parameters:

state - the state value to set.

Returns:

the ProcessThreadInfoInner object itself.

withTotalProcessorTime

public ProcessThreadInfoInner withTotalProcessorTime(String totalProcessorTime)

Set the totalProcessorTime property: Total processor time.

Parameters:

totalProcessorTime - the totalProcessorTime value to set.

Returns:

the ProcessThreadInfoInner object itself.

withUserProcessorTime

public ProcessThreadInfoInner withUserProcessorTime(String userProcessorTime)

Set the userProcessorTime property: User processor time.

Parameters:

userProcessorTime - the userProcessorTime value to set.

Returns:

the ProcessThreadInfoInner object itself.

withWaitReason

public ProcessThreadInfoInner withWaitReason(String waitReason)

Set the waitReason property: Wait reason.

Parameters:

waitReason - the waitReason value to set.

Returns:

the ProcessThreadInfoInner object itself.

Applies to