类org.apache.hadoop.fs.CanSetDropBehind源码实例Demo

下面列出了怎么用org.apache.hadoop.fs.CanSetDropBehind的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: hadoop   文件: CryptoInputStream.java
@Override
public void setDropBehind(Boolean dropCache) throws IOException,
    UnsupportedOperationException {
  try {
    ((CanSetDropBehind) in).setDropBehind(dropCache);
  } catch (ClassCastException e) {
    throw new UnsupportedOperationException("This stream does not " +
        "support setting the drop-behind caching setting.");
  }
}
 
源代码2 项目: hadoop   文件: CryptoOutputStream.java
@Override
public void setDropBehind(Boolean dropCache) throws IOException,
    UnsupportedOperationException {
  try {
    ((CanSetDropBehind) out).setDropBehind(dropCache);
  } catch (ClassCastException e) {
    throw new UnsupportedOperationException("This stream does not " +
        "support setting the drop-behind caching.");
  }
}
 
源代码3 项目: big-c   文件: CryptoInputStream.java
@Override
public void setDropBehind(Boolean dropCache) throws IOException,
    UnsupportedOperationException {
  try {
    ((CanSetDropBehind) in).setDropBehind(dropCache);
  } catch (ClassCastException e) {
    throw new UnsupportedOperationException("This stream does not " +
        "support setting the drop-behind caching setting.");
  }
}
 
源代码4 项目: big-c   文件: CryptoOutputStream.java
@Override
public void setDropBehind(Boolean dropCache) throws IOException,
    UnsupportedOperationException {
  try {
    ((CanSetDropBehind) out).setDropBehind(dropCache);
  } catch (ClassCastException e) {
    throw new UnsupportedOperationException("This stream does not " +
        "support setting the drop-behind caching.");
  }
}
 
 类所在包
 类方法
 同包方法