-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Use virtual thread executor for db tasks
- Loading branch information
Showing
12 changed files
with
157 additions
and
135 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
common/src/main/java/net/skullian/skyfactions/common/database/AbstractTableManager.java
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package net.skullian.skyfactions.common.database; | ||
|
||
import org.jooq.DSLContext; | ||
|
||
import java.util.concurrent.Executor; | ||
|
||
public abstract class AbstractTableManager { | ||
|
||
protected final DSLContext ctx; | ||
protected final Executor executor; | ||
|
||
public AbstractTableManager(DSLContext ctx, Executor executor) { | ||
this.ctx = ctx; | ||
this.executor = executor; | ||
} | ||
|
||
} |
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
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
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
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
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
Oops, something went wrong.