mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
仮置きを非同期に
This commit is contained in:
1 file changed
+12
-9
@@ -54,27 +54,30 @@ public class LacertaLibraryImpl implements LacertaLibrary {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LibraryItemPage getLibraryPage(int limit) {
|
public CompletableFuture<LibraryItemPage> getLibraryPage(int limit) {
|
||||||
|
return CompletableFuture.supplyAsync(() -> {
|
||||||
return null;
|
return null;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LibraryItemPage getLibraryPage(int limit, int offset) {
|
public CompletableFuture<LibraryItemPage> getLibraryPage(int limit, int offset) {
|
||||||
|
return CompletableFuture.supplyAsync(() -> {
|
||||||
return null;
|
return null;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LibraryItemPage getLibraryPage(String pageId, int limit) {
|
public CompletableFuture<LibraryItemPage> getLibraryPage(String pageId, int limit) {
|
||||||
|
return CompletableFuture.supplyAsync(() -> {
|
||||||
return null;
|
return null;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LibraryItemPage getLibraryPage(String pageId, int limit, int offset) {
|
public CompletableFuture<LibraryItemPage> getLibraryPage(String pageId, int limit, int offset) {
|
||||||
return null;
|
return CompletableFuture.supplyAsync(() -> {
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public DocumentDetail getDocumentDetailById(String id) {
|
|
||||||
return null;
|
return null;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user