org.terracotta.annotations
Annotation Type AutolockReadAutoSync


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface AutolockReadAutoSync

Marks the annotated method as being auto-synchronized with shared read locks.

The annotated method will be automatically wrapped in a single clustered shared read lock (on this).

See Also:
LockType.READ



Copyright © 2015 Terracotta, Inc.. All Rights Reserved.