Class ImmutableArtifactDefinitionListLazyReference
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<T>
io.atlassian.util.concurrent.LazyReference<com.google.common.collect.ImmutableList<ImmutableArtifactDefinition>>
com.atlassian.bamboo.plan.artifact.ImmutableArtifactDefinitionListLazyReference
- All Implemented Interfaces:
Supplier<com.google.common.collect.ImmutableList<ImmutableArtifactDefinition>>
public class ImmutableArtifactDefinitionListLazyReference
extends io.atlassian.util.concurrent.LazyReference<com.google.common.collect.ImmutableList<ImmutableArtifactDefinition>>
Calls to ImmutableArtifactDefinitionListLazyReference.get must be wrapped with Hibernate session.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.atlassian.util.concurrent.LazyReference
io.atlassian.util.concurrent.LazyReference.InitializationException
-
Constructor Summary
ConstructorDescriptionImmutableArtifactDefinitionListLazyReference
(@NotNull ImmutableArtifactManager immutableArtifactManager, @NotNull ImmutableJob job) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.collect.ImmutableList<ImmutableArtifactDefinition>
create()
Methods inherited from class io.atlassian.util.concurrent.LazyReference
cancel, get, getInterruptibly, isInitialized
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, isEnqueued, reachabilityFence, refersTo
-
Constructor Details
-
ImmutableArtifactDefinitionListLazyReference
public ImmutableArtifactDefinitionListLazyReference(@NotNull @NotNull ImmutableArtifactManager immutableArtifactManager, @NotNull @NotNull ImmutableJob job)
-
-
Method Details
-
create
protected com.google.common.collect.ImmutableList<ImmutableArtifactDefinition> create() throws Exception- Specified by:
create
in classio.atlassian.util.concurrent.LazyReference<com.google.common.collect.ImmutableList<ImmutableArtifactDefinition>>
- Throws:
Exception
-