Package de.otto.synapse.info
Class SnapshotReaderNotification
- java.lang.Object
-
- de.otto.synapse.info.SnapshotReaderNotification
-
public class SnapshotReaderNotification extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnapshotReaderNotification.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protectedSnapshotReaderNotification(SnapshotReaderNotification.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotReaderNotification.Builderbuilder()static SnapshotReaderNotification.Builderbuilder(SnapshotReaderNotification copy)booleanequals(java.lang.Object o)java.lang.StringgetChannelName()java.lang.StringgetMessage()java.time.InstantgetSnapshotTimestamp()SnapshotReaderStatusgetStatus()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
SnapshotReaderNotification
protected SnapshotReaderNotification(SnapshotReaderNotification.Builder builder)
-
-
Method Detail
-
getChannelName
@Nonnull public java.lang.String getChannelName()
-
getStatus
@Nonnull public SnapshotReaderStatus getStatus()
-
getMessage
@Nonnull public java.lang.String getMessage()
-
getSnapshotTimestamp
@Nullable public java.time.Instant getSnapshotTimestamp()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static SnapshotReaderNotification.Builder builder()
-
builder
public static SnapshotReaderNotification.Builder builder(SnapshotReaderNotification copy)
-
-