public interface ThinProtocolFeature
Modifier and Type | Method and Description |
---|---|
static <E extends Enum<E> & ThinProtocolFeature> |
enumSet(byte[] in,
Class<E> enumCls)
Create EnumSet of supported features encoded by the bytes array.
|
int |
featureId() |
static <E extends Enum<E> & ThinProtocolFeature> |
featuresAsBytes(Collection<E> features) |
String |
name() |
int featureId()
String name()
static <E extends Enum<E> & ThinProtocolFeature> byte[] featuresAsBytes(Collection<E> features)
features
- Feature set.static <E extends Enum<E> & ThinProtocolFeature> EnumSet<E> enumSet(byte[] in, Class<E> enumCls)
in
- Byte array representing all supported features.enumCls
- Type of the enum encoded by the bits at the byte array.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021