class ReadReplicaStatus extends BaseStatus {

    @Override
    public Response description()
    {
        Collection<MemberId> votingMembers = topologyService.allCoreRoles().keySet();
        boolean isHealthy = dbHealth.isHealthy();
        MemberId memberId = topologyService.myself();
        MemberId leader = topologyService.allCoreRoles()
                .keySet()
                .stream()
                .filter( member -> RoleInfo.LEADER.equals( topologyService.allCoreRoles().get( member ) ) )
                .findFirst()
                .orElse( null );
        long lastAppliedRaftIndex = commandIndexTracker.getAppliedCommandIndex();
        // leader message duration is meaningless for replicas since communication is not guaranteed with leader and transactions are streamed periodically
        Duration millisSinceLastLeaderMessage = null;
        return statusResponse( lastAppliedRaftIndex, false, votingMembers, isHealthy, memberId, leader, millisSinceLastLeaderMessage, false );
    }

      ReadReplicaStatus( OutputFormat output, ReadReplicaGraphDatabase db );

}