|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ScrobbleCache
is able to cache SubmissionData
instances for later submission
to the Last.fm servers.
Method Summary | |
void |
cacheScrobble(Collection submissions)
Deprecated. Caches a collection of SubmissionData . |
void |
cacheScrobble(SubmissionData[] submissions)
Deprecated. Caches one or more SubmissionData . |
void |
clearScrobbleCache()
Deprecated. Clears all cached scrobbles from this cache. |
boolean |
isEmpty()
Deprecated. Checks if the cache contains any scrobbles. |
void |
scrobble(Scrobbler scrobbler)
Deprecated. Tries to scrobble all cached scrobbles. |
Method Detail |
public void cacheScrobble(SubmissionData[] submissions)
SubmissionData
.
submissions
- The submissionspublic void cacheScrobble(Collection submissions)
SubmissionData
.
submissions
- The submissionspublic boolean isEmpty()
true
if this cache is emptypublic void scrobble(Scrobbler scrobbler) throws IOException
scrobbler
- A Scrobbler
instance
IOException
- on I/O errors
IllegalStateException
- if the Scrobbler
is not fully initialized (i.e. no handshake performed)public void clearScrobbleCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |