public class KieModuleCacheHelper extends Object
Constructor and Description |
---|
KieModuleCacheHelper() |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.ExtensionRegistry |
buildRegistry() |
static int |
byteArrayToInt(byte[] b) |
static long |
byteArrayToLong(byte[] b) |
static byte[] |
intToByteArray(int value) |
static byte[] |
longToByteArray(long value) |
static KieModuleCache.Header |
readFromStreamWithHeaderPreloaded(InputStream stream,
com.google.protobuf.ExtensionRegistry registry) |
static void |
writeToStreamWithHeader(OutputStream stream,
com.google.protobuf.Message payload) |
public static void writeToStreamWithHeader(OutputStream stream, com.google.protobuf.Message payload) throws IOException
IOException
public static KieModuleCache.Header readFromStreamWithHeaderPreloaded(InputStream stream, com.google.protobuf.ExtensionRegistry registry) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public static com.google.protobuf.ExtensionRegistry buildRegistry()
public static final byte[] intToByteArray(int value)
public static final int byteArrayToInt(byte[] b)
public static final byte[] longToByteArray(long value)
public static final long byteArrayToLong(byte[] b)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.