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

项目:hadoop-oss    文件: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.");
  }
}
项目:hadoop-oss    文件: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.");
  }
}
项目: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.");
  }
}
项目: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.");
  }
}
项目:aliyun-oss-hadoop-fs    文件: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.");
  }
}
项目:aliyun-oss-hadoop-fs    文件: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.");
  }
}
项目: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.");
  }
}
项目: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.");
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件: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.");
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件: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.");
  }
}
项目:hops    文件: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.");
  }
}
项目:hops    文件: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.");
  }
}