public class BlockInfoWrapper
extends Object
Constructor and Description |
---|
BlockInfoWrapper(org.apache.spark.storage.BlockInfo info,
java.util.concurrent.locks.Lock lock) |
BlockInfoWrapper(org.apache.spark.storage.BlockInfo info,
java.util.concurrent.locks.Lock lock,
java.util.concurrent.locks.Condition condition) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.storage.BlockInfo |
info() |
void |
tryLock(scala.Function2<org.apache.spark.storage.BlockInfo,java.util.concurrent.locks.Condition,scala.runtime.BoxedUnit> f) |
<T> T |
withLock(scala.Function2<org.apache.spark.storage.BlockInfo,java.util.concurrent.locks.Condition,T> f) |
public BlockInfoWrapper(org.apache.spark.storage.BlockInfo info, java.util.concurrent.locks.Lock lock, java.util.concurrent.locks.Condition condition)
public BlockInfoWrapper(org.apache.spark.storage.BlockInfo info, java.util.concurrent.locks.Lock lock)
public org.apache.spark.storage.BlockInfo info()
public void tryLock(scala.Function2<org.apache.spark.storage.BlockInfo,java.util.concurrent.locks.Condition,scala.runtime.BoxedUnit> f)
public <T> T withLock(scala.Function2<org.apache.spark.storage.BlockInfo,java.util.concurrent.locks.Condition,T> f)