public class JavaVersionSpecific extends Object
| Constructor and Description |
|---|
JavaVersionSpecific() |
| Modifier and Type | Method and Description |
|---|---|
long |
currentTimeMicros()
Returns the number of microseconds since the epoch (00:00:00, 01-Jan-1970, GMT).
|
static JavaVersionSpecific |
get()
Returns the
JavaVersionSpecific for the current version of Java. |
<T> CompletableFuture<T> |
newRequestContextAwareFuture(RequestContext ctx)
Returns a
CompletableFuture which executes all callbacks with the RequestContext. |
public static JavaVersionSpecific get()
JavaVersionSpecific for the current version of Java.public long currentTimeMicros()
public <T> CompletableFuture<T> newRequestContextAwareFuture(RequestContext ctx)
CompletableFuture which executes all callbacks with the RequestContext.Copyright © 2020 LeanCloud. All rights reserved.