- All Superinterfaces:
Verifier
- Enclosing interface:
Verifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A verifier interface to be used when the
ByteBuffer API provides
the most natural interface for manipulating the content.
Such a verifier will be run only when the content has been completely produced.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.postgresql.pljava.adt.spi.Verifier
Verifier.OfBuffer, Verifier.OfStream -
Method Summary
Modifier and TypeMethodDescriptionvoidverify(ByteBuffer b) Completes normally if the verification succeeds, otherwise throwing an exception.
-
Method Details
-
verify
Completes normally if the verification succeeds, otherwise throwing an exception.The buffer's
positionwhen this method returns must equal the value of the buffer'slimitwhen the method was called.- Throws:
Exception
-