aboutsummaryrefslogtreecommitdiffstats
path: root/container-disc/src/test/java/com/yahoo/container/jdisc/component/DeconstructorTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Unify on List.ofHenning Baldersheim2024-04-111-6/+5
|
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* Convert container-disc to junit5Bjørn Christian Seime2022-07-281-9/+9
|
* Include generation number in log message for deconstructionBjørn Christian Seime2022-01-251-5/+5
|
* Redesign ComponentDeconstructor to start deconstruction immediatelyBjørn Christian Seime2022-01-251-4/+4
| | | | | | There is no need to wait with deconstruction after new generation as the container knows when an old graph can be safely GCed. Add shutdown() that waits for all previous graphs to complete deconstruction.
* Respect topological ordering when releasing shared resourcesBjørn Christian Seime2022-01-251-1/+2
|
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Make the deconstruct executor private again.gjoranv2020-12-151-17/+26
| | | | - Add helper method in test to wait for deconstruct to finish.
* Optimize imports.gjoranv2020-12-151-2/+1
|
* Switch test to use RECONFIG mode by default.gjoranv2020-12-151-1/+4
| | | | | | - Use SHUTDOWN mode for the latest test that uses a component with the delayed deconstruct method. - Remove the now unnecessary explanation from the class comment.
* Wait for component deconstruction to finish when shutting down.gjoranv2020-12-151-1/+23
| | | | | | | - Wait up to 10 minuts. - Add separate modes for reconfig and shutdown. - Add test ctor for setting the delay before deconstruction starts in RECONFIG mode. (Tests are TBD.)
* Revert "Revert "Revert "Revert "Always deconstruct in reverse creation ↵Jon Marius Venstad2020-12-081-12/+13
| | | | order, including Provider objects""""
* Revert "Revert "Revert "Always deconstruct in reverse creation order, ↵Jon Marius Venstad2020-12-081-13/+12
| | | | including Provider objects"""
* Revert "Revert "Always deconstruct in reverse creation order, including ↵Jon Marius Venstad2020-12-071-12/+13
| | | | Provider objects""
* Revert "Always deconstruct in reverse creation order, including Provider ↵Arnstein Ressem2020-12-071-13/+12
| | | | objects"
* Make executor package visible for shutdown testsJon Marius Venstad2020-12-071-9/+8
|
* Always deconstruct in reverse creation order, including Provider objectsJon Marius Venstad2020-12-071-3/+5
|
* Declare fields accessed by multiple threads volatile.gjoranv2020-04-031-2/+2
|
* Ensure that obsolete bundles are uninstalledgjoranv2020-04-021-2/+20
| | | | | | .. even when there are no components to deconstruct. This happens for e.g. pure document-api containers when the user bundle(s) only contain searchers.
* Reapply "Gjoranv/allow duplicate bundles"gjoranv2019-11-051-3/+4
| | | | This reverts commit 2ef1e922a1d845b3cd79e9fb329925e7e9896919.
* Revert "Gjoranv/allow duplicate bundles"gjoranv2019-11-041-4/+3
|
* Support safe component deconstruction in jdisc container.gjoranv2019-10-281-3/+4
| | | | | | | | | - Add allowDuplicates to all Osgi classes - Uninstall bundles in Deconstructor - We no longer refresh bundles because we uninstall old bundles at a later point than the new bundles are installed. Hence, the user must version app bundles that are dependencies used by other app bundles.
* Schedule deconstruct of all components with one call.gjoranv2019-10-261-3/+6
|
* need more time when run as part of parallel buildArne Juul2018-01-301-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Update copyright headers"Jon Bratseth2017-06-141-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Copyright header"Jon Bratseth2017-06-131-1/+1
|
* Copyright headerJon Bratseth2017-06-131-1/+1
|
* PublishJon Bratseth2016-06-151-0/+68