org.apache.hadoop.lib.wsrs
Class LongParam

java.lang.Object
  extended by org.apache.hadoop.lib.wsrs.Param<Long>
      extended by org.apache.hadoop.lib.wsrs.LongParam
Direct Known Subclasses:
HttpFSParametersProvider.AccessTimeParam, HttpFSParametersProvider.BlockSizeParam, HttpFSParametersProvider.LenParam, HttpFSParametersProvider.ModifiedTimeParam, HttpFSParametersProvider.OffsetParam

@InterfaceAudience.Private
public abstract class LongParam
extends Param<Long>


Field Summary
 
Fields inherited from class org.apache.hadoop.lib.wsrs.Param
value
 
Constructor Summary
LongParam(String name, Long defaultValue)
           
 
Method Summary
protected  String getDomain()
           
protected  Long parse(String str)
           
 
Methods inherited from class org.apache.hadoop.lib.wsrs.Param
getName, parseParam, toString, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongParam

public LongParam(String name,
                 Long defaultValue)
Method Detail

parse

protected Long parse(String str)
              throws Exception
Specified by:
parse in class Param<Long>
Throws:
Exception

getDomain

protected String getDomain()
Specified by:
getDomain in class Param<Long>


Copyright © 2014 Apache Software Foundation. All Rights Reserved.