Resources and Voting

Since the resources used to store audio data are limited, EJB provides a simple tool to manage space between users. Each user may vote for tracks using the edit menu. Tracks can be deleted at any time by any user if no other user has voted for the track. Otherwise a track can never be deleted. The space entry list how many Megabytes of audio data the current user has voted for.

Note: this is system is so simple that, in practice, tracks never get deleted because someone has voted for them. What we need is probably some timeout mechanism where votes are removed if the entries are not played periodically.

The vote count is listed in the listing window with a sequence of + or * symbols. The number of votes is specified by the number of symbols. If the symbol is a *, then the current user has voted for the track.

For instance, in the following image, Takako votes for a single track.

Afterwards, her vote is recorded, and the + symbol converts to a * to signify that there are two voters, and Takako is one of them.