本文整理了Java中sun.misc.Unsafe.putBooleanVolatile()
方法的一些代码示例,展示了Unsafe.putBooleanVolatile()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Unsafe.putBooleanVolatile()
方法的具体详情如下:
包路径:sun.misc.Unsafe
类名称:Unsafe
方法名:putBooleanVolatile
[英]Volatile version of #putBoolean(Object,long,boolean)
[中]#putBoolean(Object,long,boolean)的易失性版本
代码示例来源:origin: neo4j/neo4j
public static void putBooleanVolatile( Object obj, long offset, boolean value )
{
unsafe.putBooleanVolatile( obj, offset, value );
}
代码示例来源:origin: fengjiachun/Jupiter
public void putBooleanVolatile(Object target, long offset, boolean value) {
unsafe.putBooleanVolatile(target, offset, value);
}
代码示例来源:origin: fengjiachun/Jupiter
public void putBooleanVolatile(Object target, long offset, boolean value) {
unsafe.putBooleanVolatile(target, offset, value);
}
代码示例来源:origin: aaberg/sql2o
public void setProperty(Object obj, Object value) {
if (value == null) return;
theUnsafe.putBooleanVolatile(obj, offset, (Boolean) value);
}
代码示例来源:origin: boonproject/boon
@Override
public void setBoolean( Object obj, boolean value ) {
unsafe.putBooleanVolatile( obj, offset, value );
}
代码示例来源:origin: boonproject/boon
@Override
public void setBoolean( Object obj, boolean value ) {
unsafe.putBooleanVolatile( obj, offset, value );
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void putBooleanVolatile(Object base, long offset, boolean x) {
UNSAFE.putBooleanVolatile(base, offset, x);
}
代码示例来源:origin: io.fastjson/boon
@Override
public void setBoolean( Object obj, boolean value ) {
unsafe.putBooleanVolatile( obj, offset, value );
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void putBooleanVolatile(long address, boolean x) {
UNSAFE.putBooleanVolatile(null, address, x);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public void putBooleanVolatile(Object base, long offset, boolean x) {
UNSAFE.putBooleanVolatile(base, offset, x);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void putBooleanVolatile(long address, boolean x) {
UNSAFE.putBooleanVolatile(null, address, x);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public void putBooleanVolatile(Object base, long offset, boolean x) {
UNSAFE.putBooleanVolatile(base, offset, x);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public void putBooleanVolatile(long address, boolean x) {
UNSAFE.putBooleanVolatile(null, address, x);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public void putBooleanVolatile(Object base, long offset, boolean x) {
UNSAFE.putBooleanVolatile(base, offset, x);
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public void putBooleanVolatile(long address, boolean x) {
UNSAFE.putBooleanVolatile(null, address, x);
}
代码示例来源:origin: org.sql2o/sql2o
public void setProperty(Object obj, Object value) {
if (value == null) return;
theUnsafe.putBooleanVolatile(obj, offset, (Boolean) value);
}
代码示例来源:origin: org.neo4j/neo4j-unsafe
public static void putBooleanVolatile( Object obj, long offset, boolean value )
{
unsafe.putBooleanVolatile( obj, offset, value );
}
代码示例来源:origin: io.advantageous.boon/boon-reflekt
@Override
public void setBoolean( Object obj, boolean value ) {
unsafe.putBooleanVolatile( obj, offset, value );
}
代码示例来源:origin: biezhi/anima
public void setProperty(Object obj, Object value) {
if (value == null) return;
theUnsafe.putBooleanVolatile(obj, offset, (Boolean) value);
}
代码示例来源:origin: com.github.advantageous/boon-reflekt
@Override
public void setBoolean( Object obj, boolean value ) {
unsafe.putBooleanVolatile( obj, offset, value );
}
内容来源于网络,如有侵权,请联系作者删除!