public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
protected static int |
bytesTOint(byte[] byteArray) |
protected void |
dumpTable() |
static byte[] |
getBlob(Connection conn,
int key)
Gets Blob data in RDB corresponding to given key.
|
static byte[] |
getBlob(int key)
Gets Blob data in RDB corresponding to given key.
|
byte[] |
getKeyed_arrayOfBytes(int key) |
byte[] |
getRandom_arrayOfBytes() |
static void |
getRandomBlobTask()
Gets random Blob data in RDB, logs size first few bytes.
|
static Connection |
getUnpooledConnection() |
static void |
HydraTask_dumpTable()
dump entries from table
|
protected static byte[] |
intTObytes(int i) |
protected static String |
log(com.gemstone.gemfire.cache.Region region,
Object key) |
protected static String |
log(com.gemstone.gemfire.cache.Region region,
Object key,
Object value) |
void |
preLoadTable()
(Re)Creates Blob data in RDB, as per the following
config parms:
numBytes (BLOB size)
numPreload (per slave)
|
void |
reCreateTable()
(Re)Creates table in RDB.
|
static void |
registerDriver()
Register the JDBC driver
|
static void |
reloadTableTask()
(Re)Creates table for data.
|
public static void registerDriver()
public static void reloadTableTask()
public void reCreateTable()
public void preLoadTable()
public static void getRandomBlobTask()
public static void HydraTask_dumpTable()
protected void dumpTable()
public static byte[] getBlob(int key)
public static byte[] getBlob(Connection conn, int key)
public byte[] getRandom_arrayOfBytes()
public byte[] getKeyed_arrayOfBytes(int key)
public static Connection getUnpooledConnection()
protected static byte[] intTObytes(int i)
protected static int bytesTOint(byte[] byteArray)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.