Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
org.dartlang.vm.service.ResultLatch< T > Class Template Reference
Inheritance diagram for org.dartlang.vm.service.ResultLatch< T >:
org.dartlang.vm.service.OpLatch

Public Member Functions

T getValue ()
 
void setValue (T value)
 
- Public Member Functions inherited from org.dartlang.vm.service.OpLatch
void opWorking ()
 

Additional Inherited Members

- Package Functions inherited from org.dartlang.vm.service.OpLatch
void opComplete ()
 
void waitAndAssertOpComplete ()
 
boolean waitOpComplete ()
 
- Package Attributes inherited from org.dartlang.vm.service.OpLatch
final CountDownLatch latch = new CountDownLatch(1)
 

Detailed Description

ResultLatch is used by one thread to communicate a result to another thread.

Definition at line 19 of file ResultLatch.java.

Member Function Documentation

◆ getValue()

T org.dartlang.vm.service.ResultLatch< T >.getValue ( )
inline

Definition at line 22 of file ResultLatch.java.

22 {
24 return value;
25 }

◆ setValue()

void org.dartlang.vm.service.ResultLatch< T >.setValue ( T  value)
inline

Definition at line 27 of file ResultLatch.java.

27 {
28 this.value = value;
29 opComplete();
30 }

The documentation for this class was generated from the following file: