private static class OpcUaConnector.NodeCacheEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.eclipse.milo.opcua.sdk.client.nodes.UaNode |
node |
private Object |
value |
private long |
valueLifetime |
private long |
valueTimestamp |
| Modifier | Constructor and Description |
|---|---|
private |
NodeCacheEntry()
Creates a cache entry for a pseudo node, e.g., a built-in property.
|
private |
NodeCacheEntry(org.eclipse.milo.opcua.sdk.client.nodes.UaNode node)
Creates a cache entry for a given
node. |
| Modifier and Type | Method and Description |
|---|---|
private Object |
getValue()
Returns the value of this node considering the caching lifetime.
|
private void |
setValue(Object value)
Sets the cached value.
|
private void |
setValue(Object value,
int lifetime)
Changes the value of a cached entry.
|
private org.eclipse.milo.opcua.sdk.client.nodes.UaNode node
private long valueLifetime
private long valueTimestamp
private Object value
private NodeCacheEntry()
private NodeCacheEntry(org.eclipse.milo.opcua.sdk.client.nodes.UaNode node)
node.node - the nodeprivate void setValue(Object value)
value - private void setValue(Object value, int lifetime)
value - lifetime - private Object getValue()
Copyright © 2022. All rights reserved.