mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
[Java] Fix the issue that the cached value in RayObject
is serialized (#7613)
This commit is contained in:
parent
6b888b0247
commit
7678418210
1 changed files with 2 additions and 2 deletions
|
@ -18,12 +18,12 @@ public final class RayObjectImpl<T> implements RayObject<T>, Serializable {
|
|||
* Note, this is necessary for direct calls, in which case, it's not allowed to call `Ray.get` on
|
||||
* the same object twice.
|
||||
*/
|
||||
private T object;
|
||||
private transient T object;
|
||||
|
||||
/**
|
||||
* Whether the object is already gotten from the object store.
|
||||
*/
|
||||
private boolean objectGotten;
|
||||
private transient boolean objectGotten;
|
||||
|
||||
public RayObjectImpl(ObjectId id) {
|
||||
this.id = id;
|
||||
|
|
Loading…
Add table
Reference in a new issue