public enum NowImplementation extends Enum<NowImplementation>
com.streambase.sb.expr.op.CNowOp in the server code
 for details on using these values| Enum Constant and Description | 
|---|
IMPL_SYSTEM
call System.currentTimeMillis() directly 
 | 
IMPL_THREAD
use a background thread that only checks every few milliseconds 
 | 
IMPL_TIME_SERVICE
use the current time service from the module runtime context 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getLegacyName()  | 
int | 
getValue()  | 
boolean | 
isLegacyNameEqual(String legacyName)  | 
static NowImplementation | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static NowImplementation[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final NowImplementation IMPL_SYSTEM
public static final NowImplementation IMPL_THREAD
public static final NowImplementation IMPL_TIME_SERVICE
public static NowImplementation[] values()
for (NowImplementation c : NowImplementation.values()) System.out.println(c);
public static NowImplementation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public String getLegacyName()
public boolean isLegacyNameEqual(String legacyName)
Copyright © 2015–2019 Cloud Software Group, Inc.. All rights reserved.