Interface BlockedProtocolVersions
public interface BlockedProtocolVersions
-
Method Summary
Modifier and TypeMethodDescriptionReturns the boundary above which protocol versions are blocked, or -1 if none is set.Returns the boundary below which protocol versions are blocked, or -1 if none is set.boolean
contains
(ProtocolVersion protocolVersion) Returns whether the given protocol version is blocked per boundary ranges or individually blocked versions.Returns a set of blocked protocol versions between the outer block ranges.
-
Method Details
-
contains
Returns whether the given protocol version is blocked per boundary ranges or individually blocked versions.- Parameters:
protocolVersion
- protocol version- Returns:
- whether the given protocol version is blocked
-
blocksBelow
ProtocolVersion blocksBelow()Returns the boundary below which protocol versions are blocked, or -1 if none is set.- Returns:
- exclusive boundary below which protocol versions are blocked, or -1 if none
-
blocksAbove
ProtocolVersion blocksAbove()Returns the boundary above which protocol versions are blocked, or -1 if none is set.- Returns:
- exclusive boundary above which protocol versions are blocked, or -1 if none
-
singleBlockedVersions
Set<ProtocolVersion> singleBlockedVersions()Returns a set of blocked protocol versions between the outer block ranges.- Returns:
- set of blocked protocol versions between the outer block ranges
-