T
- The type of value encapsulated by this PObject
.public interface PObject<T>
PObject
represents a singleton object value that results from a distributed
computation. Computation producing the value is deferred until
getValue()
is called.Modifier and Type | Method and Description |
---|---|
T |
getValue()
Gets the value associated with this
PObject . |
T getValue()
PObject
. Calling this method will trigger
whatever computation is necessary to obtain the value and block until that computation
succeeds.PObject
.Copyright © 2016 The Apache Software Foundation. All rights reserved.