Class ReferenceSongLookupJob
- java.lang.Object
-
- com.tagtraum.beatunes.analysisqueue.ReferenceSongLookupJob
-
public class ReferenceSongLookupJob extends Object
ReferenceSongLookupJob.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description ReferenceSongLookupJob(List<Long> songIds, AnalysisQueue analysisQueue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
boolean
hasEnded()
boolean
isCancelled()
boolean
isReceiving()
boolean
isSending()
void
waitWhileSending()
boolean
willBeLookedUp(long id)
boolean
willOrHasBeenBeLookedUp(long id)
-
-
-
Constructor Detail
-
ReferenceSongLookupJob
public ReferenceSongLookupJob(List<Long> songIds, AnalysisQueue analysisQueue)
-
-
Method Detail
-
cancel
public void cancel()
-
isCancelled
public boolean isCancelled()
-
waitWhileSending
public void waitWhileSending() throws InterruptedException
- Throws:
InterruptedException
-
isReceiving
public boolean isReceiving()
-
isSending
public boolean isSending()
-
willBeLookedUp
public boolean willBeLookedUp(long id)
-
willOrHasBeenBeLookedUp
public boolean willOrHasBeenBeLookedUp(long id)
-
hasEnded
public boolean hasEnded()
-
-