Drools :: Compiler 6.0.0.CR5

org.drools.compiler.kie.builder.impl
Class KieModuleCacheHelper

java.lang.Object
  extended by org.drools.compiler.kie.builder.impl.KieModuleCacheHelper

public class KieModuleCacheHelper
extends Object


Constructor Summary
KieModuleCacheHelper()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KieModuleCacheHelper

public KieModuleCacheHelper()
Method Detail

writeToStreamWithHeader

public static void writeToStreamWithHeader(OutputStream stream,
                                           com.google.protobuf.Message payload)
                                    throws IOException
Throws:
IOException

readFromStreamWithHeaderPreloaded

public static KieModuleCache.Header readFromStreamWithHeaderPreloaded(InputStream stream,
                                                                      com.google.protobuf.ExtensionRegistry registry)
                                                               throws IOException,
                                                                      ClassNotFoundException
Throws:
IOException
ClassNotFoundException

buildRegistry

public static com.google.protobuf.ExtensionRegistry buildRegistry()

intToByteArray

public static final byte[] intToByteArray(int value)

byteArrayToInt

public static final int byteArrayToInt(byte[] b)

longToByteArray

public static final byte[] longToByteArray(long value)

byteArrayToLong

public static final long byteArrayToLong(byte[] b)

Drools :: Compiler 6.0.0.CR5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.