mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
iroiro
This commit is contained in:
parent
0b33c60a5a
commit
d6f4885b4a
|
@ -78,6 +78,14 @@ public class LacertaLibraryImpl implements LacertaLibrary {
|
||||||
@Override
|
@Override
|
||||||
public CompletableFuture<LibraryItemPage> getLibraryPage(int limit) {
|
public CompletableFuture<LibraryItemPage> getLibraryPage(int limit) {
|
||||||
return CompletableFuture.supplyAsync(() -> {
|
return CompletableFuture.supplyAsync(() -> {
|
||||||
|
|
||||||
|
// 5秒フリーズさせる
|
||||||
|
try {
|
||||||
|
Thread.sleep(1000);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
LibraryItemPage libraryItemPage = new LibraryItemPage();
|
LibraryItemPage libraryItemPage = new LibraryItemPage();
|
||||||
|
|
||||||
List<FolderEntity> folderEntities = getFolderEntitiesByPublicPath("/").join();
|
List<FolderEntity> folderEntities = getFolderEntitiesByPublicPath("/").join();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user