public class HazelcastTimeSupplier extends Object implements org.mule.runtime.api.time.TimeSupplier
TimeSupplier that provides the cluster's unified current time in milliseconds.| Constructor and Description |
|---|
HazelcastTimeSupplier(com.hazelcast.core.HazelcastInstance hazelcastInstance) |
| Modifier and Type | Method and Description |
|---|---|
Long |
get()
Returns the Cluster's unified current time.
|
long |
getAsLong() |
public HazelcastTimeSupplier(com.hazelcast.core.HazelcastInstance hazelcastInstance)
public Long get()
public long getAsLong()
getAsLong in interface LongSuppliergetAsLong in interface org.mule.runtime.api.time.TimeSupplierCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.