Package org.commonjava.indy.model.galley
Class LocationStoreUpdateListener
- java.lang.Object
-
- org.commonjava.indy.model.galley.LocationStoreUpdateListener
-
@ApplicationScoped public class LocationStoreUpdateListener extends Object
This listener is responsible for clearing / re-creatingLocationinstances associated withArtifactStores when the store gets updated. Any number of configuration parameters on the store can change the way the location instance behaves, so the location has to be synchronized to the new store state. We're caching these location instances to avoid the need to re-create them for each newConcreteResource, which is often used as a key to a list of in-memoryTransferinstances, to help with file locking in Galley'sCacheProviderimplementations. Created by jdcasey on 10/26/17.
-
-
Constructor Summary
Constructors Constructor Description LocationStoreUpdateListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstoreUpdated(ArtifactStorePreUpdateEvent event)
-
-
-
Method Detail
-
storeUpdated
public void storeUpdated(@Observes ArtifactStorePreUpdateEvent event)
-
-