You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by GitBox <gi...@apache.org> on 2021/10/22 14:00:59 UTC

[GitHub] [incubator-kyuubi] yanghua commented on a change in pull request #1276: [KYUUBI #1275] Implement api: /${version}/sessions

yanghua commented on a change in pull request #1276:
URL: https://github.com/apache/incubator-kyuubi/pull/1276#discussion_r734569155



##########
File path: kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/dto.scala
##########
@@ -21,6 +21,17 @@ case class SessionOpenCount(openSessionCount: Int)
 
 case class ExecPoolStatistic(execPoolSize: Int, execPoolActiveCount: Int)
 
+case class SessionInfoList(sessionList: List[SessionInfo])
+
+case class SessionInfo(
+  user: String,
+  ipAddr: String,
+  createTime: Long,
+  lastAccessTime: Long,
+  lastIdleTime: Long,
+  noOperationTime: Long
+)
+

Review comment:
       We may need `handle` as a primary key and `protocol`?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org