org.apache.hadoop.hbase.util
Class ChecksumFactory
java.lang.Object
org.apache.hadoop.hbase.util.ChecksumFactory
public class ChecksumFactory
- extends Object
Utility class that is used to generate a Checksum object.
The Checksum implementation is pluggable and an application
can specify their own class that implements their own
Checksum algorithm.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChecksumFactory
public ChecksumFactory()
newInstance
public static Checksum newInstance(String className)
throws IOException
- Create a new instance of a Checksum object.
- Returns:
- The newly created Checksum object
- Throws:
IOException
newConstructor
public static Constructor<?> newConstructor(String className)
throws IOException
- Returns a Constructor that can be used to create a Checksum object.
- Parameters:
className
- classname for which an constructor is created
- Returns:
- a new Constructor object
- Throws:
IOException
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.