Record Class NuggetIntrospection.ObjectSummary
java.lang.Object
java.lang.Record
org.j7m.middleware.operations.api.NuggetIntrospection.ObjectSummary
- Record Components:
nuggetId- nugget idobjectId- object id summarylogicalName- logical nameserviceName- service namekind- object kindvisibility- visibility categorylifecycleState- object lifecycle stateregistrationState- registry stateownerApplication- owner application idinterfaces- exposed interface namesregistryContext- registry contextlocal- whether object is local to this runtimeendpointSummary- redacted endpoint summarytransportId- transport idhealth- health statereadiness- readiness stateleaseExpiryMillis- lease expiry timestamp in millisecondsgeneration- object generationinvocationCount- invocation countfailureCount- failure countlastInvocationTime- last invocation timestamplastSafeErrorCode- last safe error codesensitive- whether metadata was redacted for sensitivitymetadata- redacted metadata
- Enclosing class:
NuggetIntrospection
public static record NuggetIntrospection.ObjectSummary(String nuggetId, String objectId, String logicalName, String serviceName, String kind, NuggetIntrospection.ObjectVisibility visibility, String lifecycleState, String registrationState, String ownerApplication, List<String> interfaces, String registryContext, boolean local, String endpointSummary, String transportId, NuggetIntrospection.HealthState health, NuggetIntrospection.ReadinessState readiness, long leaseExpiryMillis, long generation, long invocationCount, long failureCount, Instant lastInvocationTime, String lastSafeErrorCode, boolean sensitive, Map<String,String> metadata)
extends Record
Object/service summary projection.
-
Constructor Summary
ConstructorsConstructorDescriptionObjectSummary(String nuggetId, String objectId, String logicalName, String serviceName, String kind, NuggetIntrospection.ObjectVisibility visibility, String lifecycleState, String registrationState, String ownerApplication, List<String> interfaces, String registryContext, boolean local, String endpointSummary, String transportId, NuggetIntrospection.HealthState health, NuggetIntrospection.ReadinessState readiness, long leaseExpiryMillis, long generation, long invocationCount, long failureCount, Instant lastInvocationTime, String lastSafeErrorCode, boolean sensitive, Map<String, String> metadata) Creates immutable object summary metadata. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theendpointSummaryrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefailureCountrecord component.longReturns the value of thegenerationrecord component.final inthashCode()Returns a hash code value for this object.health()Returns the value of thehealthrecord component.Returns the value of theinterfacesrecord component.longReturns the value of theinvocationCountrecord component.kind()Returns the value of thekindrecord component.Returns the value of thelastInvocationTimerecord component.Returns the value of thelastSafeErrorCoderecord component.longReturns the value of theleaseExpiryMillisrecord component.Returns the value of thelifecycleStaterecord component.booleanlocal()Returns the value of thelocalrecord component.Returns the value of thelogicalNamerecord component.metadata()Returns the value of themetadatarecord component.nuggetId()Returns the value of thenuggetIdrecord component.objectId()Returns the value of theobjectIdrecord component.Returns the value of theownerApplicationrecord component.Returns the value of thereadinessrecord component.Returns the value of theregistrationStaterecord component.Returns the value of theregistryContextrecord component.booleanReturns the value of thesensitiverecord component.Returns the value of theserviceNamerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransportIdrecord component.Returns the value of thevisibilityrecord component.
-
Constructor Details
-
ObjectSummary
public ObjectSummary(String nuggetId, String objectId, String logicalName, String serviceName, String kind, NuggetIntrospection.ObjectVisibility visibility, String lifecycleState, String registrationState, String ownerApplication, List<String> interfaces, String registryContext, boolean local, String endpointSummary, String transportId, NuggetIntrospection.HealthState health, NuggetIntrospection.ReadinessState readiness, long leaseExpiryMillis, long generation, long invocationCount, long failureCount, Instant lastInvocationTime, String lastSafeErrorCode, boolean sensitive, Map<String, String> metadata) Creates immutable object summary metadata.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
nuggetId
-
objectId
-
logicalName
Returns the value of thelogicalNamerecord component.- Returns:
- the value of the
logicalNamerecord component
-
serviceName
Returns the value of theserviceNamerecord component.- Returns:
- the value of the
serviceNamerecord component
-
kind
-
visibility
Returns the value of thevisibilityrecord component.- Returns:
- the value of the
visibilityrecord component
-
lifecycleState
Returns the value of thelifecycleStaterecord component.- Returns:
- the value of the
lifecycleStaterecord component
-
registrationState
Returns the value of theregistrationStaterecord component.- Returns:
- the value of the
registrationStaterecord component
-
ownerApplication
Returns the value of theownerApplicationrecord component.- Returns:
- the value of the
ownerApplicationrecord component
-
interfaces
Returns the value of theinterfacesrecord component.- Returns:
- the value of the
interfacesrecord component
-
registryContext
Returns the value of theregistryContextrecord component.- Returns:
- the value of the
registryContextrecord component
-
local
-
endpointSummary
Returns the value of theendpointSummaryrecord component.- Returns:
- the value of the
endpointSummaryrecord component
-
transportId
Returns the value of thetransportIdrecord component.- Returns:
- the value of the
transportIdrecord component
-
health
-
readiness
-
leaseExpiryMillis
public long leaseExpiryMillis()Returns the value of theleaseExpiryMillisrecord component.- Returns:
- the value of the
leaseExpiryMillisrecord component
-
generation
public long generation()Returns the value of thegenerationrecord component.- Returns:
- the value of the
generationrecord component
-
invocationCount
public long invocationCount()Returns the value of theinvocationCountrecord component.- Returns:
- the value of the
invocationCountrecord component
-
failureCount
public long failureCount()Returns the value of thefailureCountrecord component.- Returns:
- the value of the
failureCountrecord component
-
lastInvocationTime
Returns the value of thelastInvocationTimerecord component.- Returns:
- the value of the
lastInvocationTimerecord component
-
lastSafeErrorCode
Returns the value of thelastSafeErrorCoderecord component.- Returns:
- the value of the
lastSafeErrorCoderecord component
-
sensitive
-
metadata
-