LockedAction

This commit is contained in:
redkale
2024-06-08 16:32:52 +08:00
parent bbf72bb27b
commit 6bcb1de304
7 changed files with 88 additions and 16 deletions

View File

@@ -8,6 +8,7 @@ import java.util.concurrent.CountDownLatch;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.redkale.boot.LoggingBaseHandler;
import org.redkale.cached.CachedManager;
import org.redkale.cached.spi.CachedAsmMethodBoost;
import org.redkale.cached.spi.CachedManagerService;
@@ -33,6 +34,7 @@ public class CachedInstanceTest {
private static CachedManagerService manager2;
public static void main(String[] args) throws Throwable {
LoggingBaseHandler.initDebugLogConfig();
CachedInstanceTest test = new CachedInstanceTest();
init();
test.run1();

View File

@@ -7,6 +7,7 @@ import java.time.Duration;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicInteger;
import org.junit.jupiter.api.*;
import org.redkale.boot.LoggingBaseHandler;
import org.redkale.cached.spi.CachedManagerService;
import org.redkale.convert.json.JsonConvert;
import org.redkale.source.CacheMemorySource;
@@ -18,6 +19,7 @@ public class CachedManagerTest {
private static CachedManagerService manager;
public static void main(String[] args) throws Throwable {
LoggingBaseHandler.initDebugLogConfig();
CachedManagerTest test = new CachedManagerTest();
init();
test.run1();