Record Class PerspectivePageInfo
java.lang.Object
java.lang.Record
com.inductiveautomation.perspective.gateway.session.PerspectivePageInfo
-
Constructor Summary
ConstructorsConstructorDescriptionPerspectivePageInfo(String id, long created, long lastKeepalive, long roundtrip, long connectCount, int viewCount, int componentCount, int bindingCount) Creates an instance of aPerspectivePageInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebindingCountrecord component.intReturns the value of thecomponentCountrecord component.longReturns the value of theconnectCountrecord component.longcreated()Returns the value of thecreatedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.longReturns the value of thelastKeepaliverecord component.longReturns the value of theroundtriprecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of theviewCountrecord component.
-
Constructor Details
-
PerspectivePageInfo
public PerspectivePageInfo(String id, long created, long lastKeepalive, long roundtrip, long connectCount, int viewCount, int componentCount, int bindingCount) Creates an instance of aPerspectivePageInforecord class.- Parameters:
id- the value for theidrecord componentcreated- the value for thecreatedrecord componentlastKeepalive- the value for thelastKeepaliverecord componentroundtrip- the value for theroundtriprecord componentconnectCount- the value for theconnectCountrecord componentviewCount- the value for theviewCountrecord componentcomponentCount- the value for thecomponentCountrecord componentbindingCount- the value for thebindingCountrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
created
public long created()Returns the value of thecreatedrecord component.- Returns:
- the value of the
createdrecord component
-
lastKeepalive
public long lastKeepalive()Returns the value of thelastKeepaliverecord component.- Returns:
- the value of the
lastKeepaliverecord component
-
roundtrip
public long roundtrip()Returns the value of theroundtriprecord component.- Returns:
- the value of the
roundtriprecord component
-
connectCount
public long connectCount()Returns the value of theconnectCountrecord component.- Returns:
- the value of the
connectCountrecord component
-
viewCount
public int viewCount()Returns the value of theviewCountrecord component.- Returns:
- the value of the
viewCountrecord component
-
componentCount
public int componentCount()Returns the value of thecomponentCountrecord component.- Returns:
- the value of the
componentCountrecord component
-
bindingCount
public int bindingCount()Returns the value of thebindingCountrecord component.- Returns:
- the value of the
bindingCountrecord component
-