Package org.apache.commons.pool2.impl
Class ThrowableCallStack.Snapshot
- java.lang.Object
-
- java.lang.Throwable
-
- org.apache.commons.pool2.impl.ThrowableCallStack.Snapshot
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ThrowableCallStack
private static final class ThrowableCallStack.Snapshot extends java.lang.ThrowableA snapshot of a throwable.
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDprivate java.time.Instanttimestamp
-
Constructor Summary
Constructors Modifier Constructor Description privateSnapshot()Constructs a new instance with its message set to the now instant.privateSnapshot(java.time.Instant timestamp)Constructs a new instance and use the timestamp as the message with usingDateTimeFormatter.ISO_INSTANTfor more precision.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
timestamp
private final java.time.Instant timestamp
-
-
Constructor Detail
-
Snapshot
private Snapshot()
Constructs a new instance with its message set to the now instant.
-
Snapshot
private Snapshot(java.time.Instant timestamp)
Constructs a new instance and use the timestamp as the message with usingDateTimeFormatter.ISO_INSTANTfor more precision.- Parameters:
timestamp- normally the now instant.
-
-