-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apparently, nobody ever registered the repository to be finalized pro…
…perly
- Loading branch information
Showing
7 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
mc/Voyage-Model-Core.package/VOExternalRepository.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
self initializeCache. | ||
self initializeCache |
1 change: 1 addition & 0 deletions
1
mc/Voyage-Model-Core.package/VOExternalRepository.class/instance/initializeCache.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
initialization | ||
initializeCache | ||
|
||
cache := VOCache new. |
3 changes: 2 additions & 1 deletion
3
mc/Voyage-Mongo-Core.package/VOMongoRepository.class/class/defaultPoolSize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
defaults | ||
defaultPoolSize | ||
^ 10 | ||
|
||
^ 1 |
1 change: 1 addition & 0 deletions
1
mc/Voyage-Mongo-Core.package/VOMongoRepository.class/instance/finalize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
finalization | ||
finalize | ||
|
||
self stopSDAMClient |
5 changes: 5 additions & 0 deletions
5
mc/Voyage-Mongo-Core.package/VOMongoRepository.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
|
||
"register for finalization" | ||
FinalizationRegistry default add: self. | ||
|
||
insertConcerns := SmallDictionary new. | ||
removeConcerns := SmallDictionary new. | ||
updateConcerns := SmallDictionary new. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
mc/Voyage-Mongo-Core.package/VOMongoRepository.class/instance/stopSDAMClient.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
finalization | ||
stopSDAMClient | ||
|
||
sdamClient ifNotNil: #stop |