Android SDK Version


public final class WorkQueue
com.facebook.internal is solely for the use of other packages within the Facebook SDK for Android. Use of any of the classes in this package is unsupported, and they may be modified or removed without warning at any time.
Nested Class Summary
Modifier and TypeClassDescription
public classWorkQueue.Companion
public interfaceWorkQueue.WorkItem
Constructor Summary
ConstructorDescription
WorkQueue(Integer maxConcurrent, Executor executor)
WorkQueue(Integer maxConcurrent)
WorkQueue()
Method Summary
Modifier and TypeMethodDescription
final WorkQueue.WorkItemaddActiveWorkItem(Runnable callback, Boolean addToFront)
final WorkQueue.WorkItemaddActiveWorkItem(Runnable callback)
final Unitvalidate()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

WorkQueue

WorkQueue(Integer maxConcurrent, Executor executor)

WorkQueue

WorkQueue(Integer maxConcurrent)

WorkQueue

WorkQueue()
Method Detail

addActiveWorkItem

@JvmOverloads() final WorkQueue.WorkItemaddActiveWorkItem(Runnable callback, Boolean addToFront)

addActiveWorkItem

@JvmOverloads() final WorkQueue.WorkItemaddActiveWorkItem(Runnable callback)

validate

 final Unitvalidate()