org.apache.hadoop.hbase.util
Class DefaultEnvironmentEdge

java.lang.Object
  extended by org.apache.hadoop.hbase.util.DefaultEnvironmentEdge
All Implemented Interfaces:
EnvironmentEdge

@InterfaceAudience.Private
public class DefaultEnvironmentEdge
extends Object
implements EnvironmentEdge

Default implementation of an environment edge.


Constructor Summary
DefaultEnvironmentEdge()
           
 
Method Summary
 long currentTimeMillis()
          Returns the currentTimeMillis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEnvironmentEdge

public DefaultEnvironmentEdge()
Method Detail

currentTimeMillis

public long currentTimeMillis()
Returns the currentTimeMillis.

This implementation returns System.currentTimeMillis()

Specified by:
currentTimeMillis in interface EnvironmentEdge
Returns:
currentTimeMillis.


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.