threadlocal信息详情

threadlocal发音

意思翻译

线程本地

相似词语短语

tariff threats───关税威胁

threads movie───线程电影

threads up clothing───把衣服穿起来

five linguistic dimensions of making threats───制造威胁的五个语言学维度

female thread jack───内螺纹千斤顶

system thread exception not handled───未处理系统线程异常

raveling thread───散开的线

bothy threads───粗线

hogging thread───内螺纹

blue thread───蓝线

双语使用场景

Using ThreadLocal to simplify debug logging.───用ThreadLocal简化调试日志纪录。

Listing 1 shows the ThreadLocal interface.───清单1显示了ThreadLocal接口。

Listing 2 shows one way to implement ThreadLocal.───清单2显示了ThreadLocal的一个实现方式。

Thus if we only had the ThreadLocal cache of the database connection handles, we would not be able to initiate a close of all open handles.───因此,如果我们只有数据库连接句柄的ThreadLocal缓存,我们将不能发起对所有开放句柄的关闭操作。

In the last installment in this series, we'll examine ThreadLocal, an oft-neglected facility of the Thread API.───在本系列的最后一部分,我们将讨论ThreadLocal,它是ThreadAPI中经常被忽视的一个工具。

Needless to say, the performance of ThreadLocal was quite poor.───不用说,ThreadLocal的性能是相当差的。

ref; it acts as an indirect handle for storing or retrieving a value.───ThreadLocal类充当存储或检索一个值时的间接句柄。

Unfortunately, even with these improvements, the performance of ThreadLocal under Java 1. 3 is still surprisingly slow.───不幸的是,即使有了这些改进,Java1.3中的ThreadLocal的性能仍然出奇地慢。

To create a thread-local variable, you instantiate an object of class ThreadLocal.───要创建一个线程局部变量,请实例化类ThreadLocal的一个对象。

英语使用场景