class TrackStore implements BaseService {

    public void setUploading(@NonNull TrackFile trackFile) {
        final TrackState state = trackState.get(trackFile);
        if (state instanceof TrackState.TrackNotUploaded) {
            trackState.put(trackFile, new TrackState.TrackUploading(trackFile));
        } else {
            Log.e(TAG, "Invalid track state transition: " + state + " -> uploading");
        }
    }

}