Class FileCacheWriter
- java.lang.Object
-
- com.ss.android.ugc.bytex.transformer.processor.task.FileCacheWriter
-
- All Implemented Interfaces:
java.util.concurrent.ForkJoinPool.ManagedBlocker
public class FileCacheWriter extends java.lang.Object implements java.util.concurrent.ForkJoinPool.ManagedBlocker
-
-
Constructor Summary
Constructors Constructor Description FileCacheWriter(FileCache fileCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanblock()booleanisReleasable()
-
-
-
Constructor Detail
-
FileCacheWriter
public FileCacheWriter(FileCache fileCache)
-
-
Method Detail
-
block
public boolean block() throws java.lang.InterruptedException- Specified by:
blockin interfacejava.util.concurrent.ForkJoinPool.ManagedBlocker- Throws:
java.lang.InterruptedException
-
isReleasable
public boolean isReleasable()
- Specified by:
isReleasablein interfacejava.util.concurrent.ForkJoinPool.ManagedBlocker
-
-