public class SnapshotManifest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.time.Instant |
createdAt |
java.time.Instant |
expiresAt |
java.util.List<java.lang.String> |
files |
Constructor and Description |
---|
SnapshotManifest(java.util.List<java.lang.String> files,
DurationSpec.IntSecondsBound ttl,
java.time.Instant creationTime) |
Modifier and Type | Method and Description |
---|---|
static SnapshotManifest |
deserializeFromJsonFile(File file) |
boolean |
equals(java.lang.Object o) |
java.time.Instant |
getCreatedAt() |
java.time.Instant |
getExpiresAt() |
java.util.List<java.lang.String> |
getFiles() |
int |
hashCode() |
void |
serializeToJsonFile(File outputFile) |
public final java.util.List<java.lang.String> files
public final java.time.Instant createdAt
public final java.time.Instant expiresAt
public SnapshotManifest(java.util.List<java.lang.String> files, DurationSpec.IntSecondsBound ttl, java.time.Instant creationTime)
public java.util.List<java.lang.String> getFiles()
public java.time.Instant getCreatedAt()
public java.time.Instant getExpiresAt()
public void serializeToJsonFile(File outputFile) throws java.io.IOException
java.io.IOException
public static SnapshotManifest deserializeFromJsonFile(File file) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2009-2022 The Apache Software Foundation