Skip to content

Commit

Permalink
Improve display of topic statistics
Browse files Browse the repository at this point in the history
(merge main -> ce/main 109547)

[git-p4: depot-paths = "//dev/coherence-ce/main/": change = 109549]
  • Loading branch information
thegridman committed Jun 13, 2024
1 parent b0aca63 commit cb0ebea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2022, Oracle and/or its affiliates.
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* https://oss.oracle.com/licenses/upl.
Expand Down Expand Up @@ -177,6 +177,10 @@ public int hashCode()
@Override
public String toString()
{
if (m_nPage == Page.EMPTY && m_nOffset == NULL_OFFSET)
{
return "PagedPosition(None)";
}
return "PagedPosition("
+ "page=" + m_nPage
+ ", offset=" + m_nOffset
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2022, Oracle and/or its affiliates.
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* https://oss.oracle.com/licenses/upl.
Expand Down Expand Up @@ -189,7 +189,7 @@ public long getLastPolledTimestamp()
/**
* The current head position.
*/
private PagedPosition m_head = new PagedPosition(0L, 0);
private PagedPosition m_head = PagedPosition.NULL_POSITION;

/**
* The owning subscriber.
Expand Down

0 comments on commit cb0ebea

Please sign in to comment.