public class Digest
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
byte[] |
digest() |
static Digest |
forReadResponse() |
static Digest |
forRepairedDataTracking() |
static Digest |
forSchema() |
static Digest |
forValidator() |
long |
inputBytes() |
Digest |
update(byte[] input,
int offset,
int len) |
Digest |
update(java.nio.ByteBuffer input)
Update the digest with the bytes from the supplied buffer.
|
Digest |
update(java.nio.ByteBuffer input,
int pos,
int len)
Update the digest with the bytes sliced from the supplied buffer.
|
<V> Digest |
update(V input,
ValueAccessor<V> accessor) |
Digest |
updateWithBoolean(boolean val) |
Digest |
updateWithByte(int val) |
<V> Digest |
updateWithCounterContext(V context,
ValueAccessor<V> accessor)
Update the digest with the content of a counter context.
|
Digest |
updateWithInt(int val) |
Digest |
updateWithLong(long val) |
public static Digest forReadResponse()
public static Digest forSchema()
public static Digest forValidator()
public static Digest forRepairedDataTracking()
public Digest update(byte[] input, int offset, int len)
public <V> Digest update(V input, ValueAccessor<V> accessor)
public Digest update(java.nio.ByteBuffer input)
public Digest update(java.nio.ByteBuffer input, int pos, int len)
public <V> Digest updateWithCounterContext(V context, ValueAccessor<V> accessor)
public Digest updateWithByte(int val)
public Digest updateWithInt(int val)
public Digest updateWithLong(long val)
public Digest updateWithBoolean(boolean val)
public byte[] digest()
public long inputBytes()
Copyright © 2009- The Apache Software Foundation