本文整理汇总了Java中io.vertx.codegen.annotations.Fluent类的典型用法代码示例。如果您正苦于以下问题:Java Fluent类的具体用法?Java Fluent怎么用?Java Fluent使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Fluent类属于io.vertx.codegen.annotations包,在下文中一共展示了Fluent类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: connect
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
public MongoWtor connect(final Class<?> clazz) {
// Invalid connect
Fn.flingUp(null == clazz, LOGGER,
XtorConnectException.class, this.getClass(),
"hitted = " + clazz, "connect(Class)");
this.hitted = clazz;
this.logger = (null == clazz) ? Annal.get(MongoWtor.class) : Annal.get(clazz);
return this;
}
示例2: connect
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
public MongoRtor connect(final String collection) {
// Invalid connect
Fn.flingUp(StringUtil.isNil(collection), LOGGER,
XtorConnectException.class, this.getClass(),
"collection = " + collection, "connect(String)");
this.collection = collection;
return this;
}
示例3: withDiscovery
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
Flow withDiscovery(ServiceDiscovery discovery);
示例4: fetchPage
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
WikiDatabaseService fetchPage(String name, Handler<AsyncResult<JsonObject>> resultHandler);
示例5: fetchAllPagesData
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
WikiDatabaseService fetchAllPagesData(Handler<AsyncResult<List<JsonObject>>> resultHandler);
示例6: lock
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
EntityManagerExt lock(Object entity, LockModeType lockMode, Handler<AsyncResult<Void>> handler);
示例7: fetchPageById
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
WikiDatabaseService fetchPageById(int id, Handler<AsyncResult<JsonObject>> resultHandler);
示例8: savePage
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
WikiDatabaseService savePage(int id, String markdown, Handler<AsyncResult<Void>> resultHandler);
示例9: fetchAllPages
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
WikiDatabaseService fetchAllPages(Handler<AsyncResult<JsonArray>> resultHandler);
示例10: createPage
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
WikiDatabaseService createPage(String title, String markdown, Handler<AsyncResult<Void>> resultHandler);
示例11: deletePage
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
WikiDatabaseService deletePage(int id, Handler<AsyncResult<Void>> resultHandler);
示例12: clear
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
EntityManagerExt clear(Handler<AsyncResult<Void>> handler);
示例13: getRecord
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
LoadBalanceService getRecord(String alias, Handler<AsyncResult<Record>> oRecordHandler);
示例14: merge
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
EntityManagerExt merge(Object entity, Handler<AsyncResult<Void>> handler);
示例15: createNotification
import io.vertx.codegen.annotations.Fluent; //导入依赖的package包/类
@Fluent
NotificationService createNotification(Handler<AsyncResult<JsonObject>> resultHandler);