org.apache.blur.store.blockcache_v2
Class CacheIndexInputTest

java.lang.Object
  extended by org.apache.blur.store.blockcache_v2.CacheIndexInputTest

public class CacheIndexInputTest
extends Object


Constructor Summary
CacheIndexInputTest()
           
 
Method Summary
static Cache getCache()
           
static void readRandomData(org.apache.lucene.store.IndexInput baseInput, org.apache.lucene.store.IndexInput testInput, Random random, int sampleSize, int maxBufSize, int maxOffset)
           
static void readRandomDataInt(org.apache.lucene.store.IndexInput baseInput, org.apache.lucene.store.IndexInput testInput, Random random, int sampleSize)
           
static void readRandomDataLong(org.apache.lucene.store.IndexInput baseInput, org.apache.lucene.store.IndexInput testInput, Random random, int sampleSize)
           
static void readRandomDataShort(org.apache.lucene.store.IndexInput baseInput, org.apache.lucene.store.IndexInput testInput, Random random, int sampleSize)
           
 void setup()
           
 void test1()
           
 void test2()
           
static void writeRandomData(long size, Random random, org.apache.lucene.store.IndexOutput... outputs)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheIndexInputTest

public CacheIndexInputTest()
Method Detail

setup

public void setup()

test1

public void test1()
           throws IOException
Throws:
IOException

test2

public void test2()
           throws IOException
Throws:
IOException

readRandomData

public static void readRandomData(org.apache.lucene.store.IndexInput baseInput,
                                  org.apache.lucene.store.IndexInput testInput,
                                  Random random,
                                  int sampleSize,
                                  int maxBufSize,
                                  int maxOffset)
                           throws IOException
Throws:
IOException

readRandomDataInt

public static void readRandomDataInt(org.apache.lucene.store.IndexInput baseInput,
                                     org.apache.lucene.store.IndexInput testInput,
                                     Random random,
                                     int sampleSize)
                              throws IOException
Throws:
IOException

readRandomDataShort

public static void readRandomDataShort(org.apache.lucene.store.IndexInput baseInput,
                                       org.apache.lucene.store.IndexInput testInput,
                                       Random random,
                                       int sampleSize)
                                throws IOException
Throws:
IOException

readRandomDataLong

public static void readRandomDataLong(org.apache.lucene.store.IndexInput baseInput,
                                      org.apache.lucene.store.IndexInput testInput,
                                      Random random,
                                      int sampleSize)
                               throws IOException
Throws:
IOException

writeRandomData

public static void writeRandomData(long size,
                                   Random random,
                                   org.apache.lucene.store.IndexOutput... outputs)
                            throws IOException
Throws:
IOException

getCache

public static Cache getCache()


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.