| Modifier and Type | Field and Description |
|---|---|
| public static final ThreadingBehavior | IMMUTABLE
Instances of classes with the given contract are expected to be fully immutable and thread-safe. |
| public static final ThreadingBehavior | IMMUTABLE_CONDITIONAL
Instances of classes with the given contract are expected to be immutable if their dependencies injected at construction time are immutable and are expected to be thread-safe if their dependencies are thread-safe. |
| public static final ThreadingBehavior | SAFE
Instances of classes with the given contract are expected to be fully thread-safe. |
| public static final ThreadingBehavior | SAFE_CONDITIONAL
Instances of classes with the given contract are expected to be thread-safe if their dependencies injected at construction time are thread-safe. |
| public static final ThreadingBehavior | STATELESS
Instances of classes with the given contract are expected to maintain no state and to be thread-safe. |
| public static final ThreadingBehavior | UNSAFE
Instances of classes with the given contract are expected to be non thread-safe. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ThreadingBehavior | |
| public static ThreadingBehavior[] |
| IMMUTABLE | back to summary |
|---|---|
| public static final ThreadingBehavior IMMUTABLE Instances of classes with the given contract are expected to be fully immutable and thread-safe. | |
| IMMUTABLE_CONDITIONAL | back to summary |
|---|---|
| public static final ThreadingBehavior IMMUTABLE_CONDITIONAL Instances of classes with the given contract are expected to be immutable if their dependencies injected at construction time are immutable and are expected to be thread-safe if their dependencies are thread-safe. | |
| SAFE | back to summary |
|---|---|
| public static final ThreadingBehavior SAFE Instances of classes with the given contract are expected to be fully thread-safe. | |
| SAFE_CONDITIONAL | back to summary |
|---|---|
| public static final ThreadingBehavior SAFE_CONDITIONAL Instances of classes with the given contract are expected to be thread-safe if their dependencies injected at construction time are thread-safe. | |
| STATELESS | back to summary |
|---|---|
| public static final ThreadingBehavior STATELESS Instances of classes with the given contract are expected to maintain no state and to be thread-safe. | |
| UNSAFE | back to summary |
|---|---|
| public static final ThreadingBehavior UNSAFE Instances of classes with the given contract are expected to be non thread-safe. | |
| ThreadingBehavior | back to summary |
|---|---|
| private ThreadingBehavior() | |
| valueOf | back to summary |
|---|---|
| public static ThreadingBehavior valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ThreadingBehavior[] values() | |