io.rsocket.Frame.touch()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.0k)|赞(0)|评价(0)|浏览(168)

本文整理了Java中io.rsocket.Frame.touch()方法的一些代码示例,展示了Frame.touch()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Frame.touch()方法的具体详情如下:
包路径:io.rsocket.Frame
类名称:Frame
方法名:touch

Frame.touch介绍

[英]Records the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector. This method is a shortcut to #touch(Object).
[中]记录此对象的当前访问位置以进行调试。如果确定此对象泄漏,则此操作记录的信息将通过ResourceLeakDetector提供给您。此方法是触摸(对象)的快捷方式。

代码示例

代码示例来源:origin: rsocket/rsocket-java

@Override
public ConnectionSetupPayload touch(Object hint) {
 setupFrame.touch(hint);
 return this;
}

代码示例来源:origin: rsocket/rsocket-java

@Override
public ConnectionSetupPayload touch() {
 setupFrame.touch();
 return this;
}

代码示例来源:origin: io.rsocket/rsocket-core

@Override
public ConnectionSetupPayload touch() {
 setupFrame.touch();
 return this;
}

代码示例来源:origin: io.rsocket/rsocket-core

@Override
public ConnectionSetupPayload touch(Object hint) {
 setupFrame.touch(hint);
 return this;
}

相关文章