Package org.apache.cassandra.service
Class DataResurrectionCheck.Heartbeat
- java.lang.Object
-
- org.apache.cassandra.service.DataResurrectionCheck.Heartbeat
-
- Enclosing class:
- DataResurrectionCheck
public static class DataResurrectionCheck.Heartbeat extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.time.Instant
lastHeartbeat
-
Constructor Summary
Constructors Constructor Description Heartbeat(java.time.Instant lastHeartbeat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataResurrectionCheck.Heartbeat
deserializeFromJsonFile(File file)
boolean
equals(java.lang.Object o)
int
hashCode()
void
serializeToJsonFile(File outputFile)
-
-
-
Method Detail
-
serializeToJsonFile
public void serializeToJsonFile(File outputFile) throws java.io.IOException
- Throws:
java.io.IOException
-
deserializeFromJsonFile
public static DataResurrectionCheck.Heartbeat deserializeFromJsonFile(File file) throws java.io.IOException
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-