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.
-
-
Constructor Summary
Constructors Constructor Description ImmutableArtifactDefinitionListLazyReference(@NotNull ImmutableArtifactManager immutableArtifactManager, @NotNull ImmutableJob job)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Constructor Detail
-
ImmutableArtifactDefinitionListLazyReference
public ImmutableArtifactDefinitionListLazyReference(@NotNull @NotNull ImmutableArtifactManager immutableArtifactManager, @NotNull @NotNull ImmutableJob job)
-
-
Method Detail
-
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
-
-