Annotation Type Sync
public @interface Sync
Marker interface used for annotating methods that operate synchronously.
Sync operations are operations that have a result realized after the completion of the execution of the annotated method.
This means that the program will:
- Get to the code annotated with the
Sync
interface. - Execute the code contained in the method's body.
- Continue executing as intended.
Marker interfaces have no purpose other than to indicate to anyone who sees the annotation that the annotated field or class or method has a certain property.
- Since:
- 0.3.0
- Author:
- Colin Robertson