Class CryptFilter.Counters
java.lang.Object
org.apache.sshd.common.session.filters.CryptFilter.Counters
- All Implemented Interfaces:
CryptStatisticsProvider.Counters
- Enclosing class:
CryptFilter
-
Method Summary
Modifier and TypeMethodDescriptionlongRetrieves the number of cipher blocks written (since the last key exchange).longgetBytes()Retrieves the number of bytes written (since the last key exchange).longRetrieves the number of SSH packets written (since the last key exchange).voidupdate(int blocks, int bytes)
-
Method Details
-
update
public void update(int blocks, int bytes) -
getBytes
public long getBytes()Description copied from interface:CryptStatisticsProvider.CountersRetrieves the number of bytes written (since the last key exchange).- Specified by:
getBytesin interfaceCryptStatisticsProvider.Counters- Returns:
- the number of bytes
-
getBlocks
public long getBlocks()Description copied from interface:CryptStatisticsProvider.CountersRetrieves the number of cipher blocks written (since the last key exchange).- Specified by:
getBlocksin interfaceCryptStatisticsProvider.Counters- Returns:
- the number of cipher blocks
-
getPackets
public long getPackets()Description copied from interface:CryptStatisticsProvider.CountersRetrieves the number of SSH packets written (since the last key exchange).- Specified by:
getPacketsin interfaceCryptStatisticsProvider.Counters- Returns:
- the number of packets
-