You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2021/09/29 08:09:24 UTC
[httpcomponents-core] 02/02: Added public getter for
PoolEntry#created attribute
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
commit ae9ec8c0236051d053793cd48388056423f738d6
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Wed Sep 29 09:27:20 2021 +0200
Added public getter for PoolEntry#created attribute
---
httpcore5/src/main/java/org/apache/hc/core5/pool/PoolEntry.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/pool/PoolEntry.java b/httpcore5/src/main/java/org/apache/hc/core5/pool/PoolEntry.java
index 8a28266..ad27c69 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/pool/PoolEntry.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/pool/PoolEntry.java
@@ -125,6 +125,13 @@ public final class PoolEntry<T, C extends ModalCloseable> {
return this.state;
}
+ /**
+ * @since 5.2
+ */
+ public long getCreated() {
+ return created;
+ }
+
public long getUpdated() {
return this.updated;
}