mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
仮置きを非同期に
This commit is contained in:
parent
4e5aab276a
commit
7214da80fa
|
@ -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;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user