@InterfaceAudience.Private public class IncrementingEnvironmentEdge extends Object implements EnvironmentEdge
| 构造器和说明 |
|---|
IncrementingEnvironmentEdge()
Construct an incremental edge starting from currentTimeMillis
|
IncrementingEnvironmentEdge(long initialAmount)
Construct an incremental edge with an initial amount
|
public IncrementingEnvironmentEdge()
public IncrementingEnvironmentEdge(long initialAmount)
initialAmount - the initial value to start withpublic long currentTime()
This method increments a known value for the current time each time this method is called. The first value is 1.
currentTime 在接口中 EnvironmentEdgepublic long incrementTime(long amount)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.