初始化

This commit is contained in:
2026-02-11 18:58:44 +08:00
commit 5331f61192
10 changed files with 2136 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package com.bomaos;
import com.bomaos.reception.util.SynchronizedByKeyService;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class BomaosApplicationTests {
@Autowired
private SynchronizedByKeyService synchronizedByKey;
@Test
public void contextLoads() {
synchronizedByKey.exec("1", () -> {
System.out.println(11111);
});
}
}