仮置きを非同期に

This commit is contained in:
r-ca 2024-01-20 23:19:20 +09:00
parent 4e5aab276a
commit 7214da80fa
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -54,27 +54,30 @@ public class LacertaLibraryImpl implements LacertaLibrary {
} }
@Override @Override
public LibraryItemPage getLibraryPage(int limit) { public CompletableFuture<LibraryItemPage> getLibraryPage(int limit) {
return null; return CompletableFuture.supplyAsync(() -> {
return null;
});
} }
@Override @Override
public LibraryItemPage getLibraryPage(int limit, int offset) { public CompletableFuture<LibraryItemPage> getLibraryPage(int limit, int offset) {
return null; return CompletableFuture.supplyAsync(() -> {
return null;
});
} }
@Override @Override
public LibraryItemPage getLibraryPage(String pageId, int limit) { public CompletableFuture<LibraryItemPage> getLibraryPage(String pageId, int limit) {
return null; return CompletableFuture.supplyAsync(() -> {
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(() -> {
} return null;
});
@Override
public DocumentDetail getDocumentDetailById(String id) {
return null;
} }
} }