软件包 ml.shifu.guagua.util

This package contains some useful utility functions to help guagua-core.

请参见:
          描述

接口摘要
AppendList<T> Appendable list interface definition.
ObjectSerializer<T> To serialize object to byte array and de-serialize bytes to an instance.
Progressable A facility for reporting progress.
 

类摘要
BytableDiskList<T extends Bytable> A list wrapper to implement store Bytable data into disk.
BytableMemoryDiskList<T extends Bytable> A list to store Bytable data firstly into memory then into disk if over threshold.
DiskList<T extends Serializable> A list wrapper to implement store data into disk.
FileUtils Copied from apache common-io source code.
JavaObjectSerializer<T> Default object serialization by using java serialization implementation.
JMap Helper to run jmap and print the output.
MemoryDiskList<T extends Serializable> A list to store data firstly into memory then into disk if over threshold.
MemoryLimitedList<T> A simple wrapper list with limited byte size.
MemoryUtils Helper static methods for tracking memory usage.
NetworkUtils NetworkUtils is used as TCP server or port helper functions.
NumberFormatUtils Util class to parse int, long or any other type.
ProgressLock A lock with a predicate that was be used to synchronize events and keep the job updated while waiting.
ReflectionUtils ReflectionUtils is used to get instance from java reflection mechanism.
SizeEstimator Copied from Apache Spark project to estimate size of a Java instance.
StringUtils StringUtils class for string operation.
 

枚举摘要
AppendList.State Inner state definition.
 

软件包 ml.shifu.guagua.util 的描述

This package contains some useful utility functions to help guagua-core.

com.paypal.guagua.util.JMap and com.paypal.guagua.util.MemoryUtils are used for memory profiling.

Others are common utils like com.paypal.guagua.util.StringUtils are used to avoid loading extra jars into our guagua core framework.



Copyright © 2015. All Rights Reserved.