server

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SharedServerMetrics = &ServerMetrics{}
)

Functions

This section is empty.

Types

type ServerMetrics

type ServerMetrics struct {
	// contains filtered or unexported fields
}

Defines the metrics of the server

func (*ServerMetrics) GetAllTransactionsCount

func (sm *ServerMetrics) GetAllTransactionsCount() uint32

Returns the number of all transactions.

func (*ServerMetrics) GetDroppedSendPacketsCount

func (sm *ServerMetrics) GetDroppedSendPacketsCount() uint32

Gets the number of packets dropped from the send queue.

func (*ServerMetrics) GetInvalidTransactionsCount

func (sm *ServerMetrics) GetInvalidTransactionsCount() uint32

Gets the number of invalid transactions.

func (*ServerMetrics) GetNewTransactionsCount

func (sm *ServerMetrics) GetNewTransactionsCount() uint32

Gets the number of new transactions.

func (*ServerMetrics) GetRandomTransactionRequestsCount

func (sm *ServerMetrics) GetRandomTransactionRequestsCount() uint32

Gets the number of random transactions.

func (*ServerMetrics) GetReceivedMilestoneRequestsCount

func (sm *ServerMetrics) GetReceivedMilestoneRequestsCount() uint32

Gets the number of received milestone requests.

func (*ServerMetrics) GetReceivedTransactionRequestCount

func (sm *ServerMetrics) GetReceivedTransactionRequestCount() uint32

Gets the number of received transactions requests count.

func (*ServerMetrics) GetSentMilestoneRequestsCount

func (sm *ServerMetrics) GetSentMilestoneRequestsCount() uint32

Gets the number of send milestone requests.

func (*ServerMetrics) GetSentTransactionRequestCount

func (sm *ServerMetrics) GetSentTransactionRequestCount() uint32

Gets the number of send transaction requests.

func (*ServerMetrics) GetSentTransactionsCount

func (sm *ServerMetrics) GetSentTransactionsCount() uint32

Gets the number of send transactions.

func (*ServerMetrics) GetStaleTransactionsCount

func (sm *ServerMetrics) GetStaleTransactionsCount() uint32

Gets the number of stale transactions.

func (*ServerMetrics) IncrAllTransactionsCount

func (sm *ServerMetrics) IncrAllTransactionsCount() uint32

Increments the all transactions count.

func (*ServerMetrics) IncrDroppedSendPacketsCount

func (sm *ServerMetrics) IncrDroppedSendPacketsCount() uint32

Increments the number of packets dropped from the send queue.

func (*ServerMetrics) IncrInvalidTransactionsCount

func (sm *ServerMetrics) IncrInvalidTransactionsCount() uint32

Increments the invalid transaction count.

func (*ServerMetrics) IncrNewTransactionsCount

func (sm *ServerMetrics) IncrNewTransactionsCount() uint32

Increments the new transactions count.

func (*ServerMetrics) IncrRandomTransactionRequestsCount

func (sm *ServerMetrics) IncrRandomTransactionRequestsCount() uint32

Increments the random transactions count.

func (*ServerMetrics) IncrReceivedMilestoneRequestsCount

func (sm *ServerMetrics) IncrReceivedMilestoneRequestsCount() uint32

Increments the received milestone requests count.

func (*ServerMetrics) IncrReceivedTransactionRequestCount

func (sm *ServerMetrics) IncrReceivedTransactionRequestCount() uint32

Increments the received transactions requests count.

func (*ServerMetrics) IncrSentMilestoneRequestsCount

func (sm *ServerMetrics) IncrSentMilestoneRequestsCount() uint32

Increments the send milestone requests count.

func (*ServerMetrics) IncrSentTransactionRequestCount

func (sm *ServerMetrics) IncrSentTransactionRequestCount() uint32

Increments the send transaction request count.

func (*ServerMetrics) IncrSentTransactionsCount

func (sm *ServerMetrics) IncrSentTransactionsCount() uint32

Increments the send transactions count.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL