本文整理汇总了Java中water.nbhm.NonBlockingSetInt类的典型用法代码示例。如果您正苦于以下问题:Java NonBlockingSetInt类的具体用法?Java NonBlockingSetInt怎么用?Java NonBlockingSetInt使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
NonBlockingSetInt类属于water.nbhm包,在下文中一共展示了NonBlockingSetInt类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: Value
import water.nbhm.NonBlockingSetInt; //导入依赖的package包/类
public Value(Key k, Iced pojo, byte be ) {
_key = k;
_pojo = pojo;
_type = (short)pojo.frozenType();
_mem = (pojo instanceof Chunk)?((Chunk)pojo).getBytes():pojo.write(new AutoBuffer()).buf();
_max = _mem.length;
// For the ICE backend, assume new values are not-yet-written.
// For HDFS & NFS backends, assume we from global data and preserve the
// passed-in persist bits
byte p = (byte)(be&BACKEND_MASK);
_persist = (p==ICE) ? p : be;
_rwlock = new AtomicInteger(0);
_replicas = k.home() ? new NonBlockingSetInt() : null;
}
示例2: setupLocal
import water.nbhm.NonBlockingSetInt; //导入依赖的package包/类
@Override public void setupLocal(){
super.setupLocal();
_visited = new NonBlockingSetInt();
_espc = MemoryManager.malloc8(_nchunks);
}
示例3: setupLocal
import water.nbhm.NonBlockingSetInt; //导入依赖的package包/类
@Override public void setupLocal(){
super.setupLocal();
_visited = new NonBlockingSetInt();
_espc = MemoryManager.malloc8(_nchunks);
_setup = ParserService.INSTANCE.getByInfo(_setup._parse_type).setupLocal(_fr.anyVec(),_setup);
}
示例4: setupLocal
import water.nbhm.NonBlockingSetInt; //导入依赖的package包/类
@Override public void setupLocal(){
super.setupLocal();
_espc = MemoryManager.malloc8(_nchunks);
_visited = new NonBlockingSetInt();
}