Package com.biglybt.core.download.impl
Class DownloadManagerStateImpl.CachedStateWrapper.cacheGroup
java.lang.Object
com.biglybt.core.download.impl.DownloadManagerStateImpl.CachedStateWrapper.cacheGroup
- All Implemented Interfaces:
TOTorrentAnnounceURLGroup
- Enclosing class:
DownloadManagerStateImpl.CachedStateWrapper
protected class DownloadManagerStateImpl.CachedStateWrapper.cacheGroup
extends Object
implements TOTorrentAnnounceURLGroup
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAnnounceURLSet
(URL[] urls) This method will create a new set.(package private) void
fixGroup()
Gets the current sets defined for this group, 0 length if none definedlong
getUID()
void
Sets the group's URL sets to the supplied values.
-
Field Details
-
sets
-
uid
private volatile long uid
-
-
Constructor Details
-
cacheGroup
- Throws:
Exception
-
-
Method Details
-
getUID
public long getUID()- Specified by:
getUID
in interfaceTOTorrentAnnounceURLGroup
-
getAnnounceURLSets
Description copied from interface:TOTorrentAnnounceURLGroup
Gets the current sets defined for this group, 0 length if none defined- Specified by:
getAnnounceURLSets
in interfaceTOTorrentAnnounceURLGroup
- Returns:
-
fixGroup
void fixGroup() -
setAnnounceURLSets
Description copied from interface:TOTorrentAnnounceURLGroup
Sets the group's URL sets to the supplied values.- Specified by:
setAnnounceURLSets
in interfaceTOTorrentAnnounceURLGroup
- Parameters:
toSet
-
-
createAnnounceURLSet
Description copied from interface:TOTorrentAnnounceURLGroup
This method will create a new set. It is not added into the current set, this must be done by the caller inserting the newly created set into an array as required and calling the above "set" method.- Specified by:
createAnnounceURLSet
in interfaceTOTorrentAnnounceURLGroup
- Parameters:
urls
- the URLs for the new set- Returns:
- the newly created set
-