
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
com.tomergoldst.android:jobqueue
Advanced tools
Persisted job queue for android.
Manage your jobs flow by working with a queue. You can create as many queues as you need
Light and easy to use
Add a dependency to your app build.gradle
dependencies {
compile 'com.tomergoldst.android:jobqueue:2.0.1'
}
Init JobQueue at your application class onCreate()
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
JobQueue.initialize(this);
}
}
add a job to queue:
final String NETWORK_QUEUE = "network_queue"
JobTask jobTask = new JobTask("myJobName", "myJobData")
JobQueue.add(NETWORK_QUEUE, jobTask);
pop next job:
JobTask jobTask = JobQueue.pop(NETWORK_QUEUE);
peek on next job:
JobTask jobTask = JobQueue.peek(NETWORK_QUEUE);
remove job from queue:
JobQueue.remove(jobTask);
remove all jobs from queue:
JobQueue.clearQueue(NETWORK_QUEUE);
get all jobs on queue:
List<JobTask> jobs = JobQueue.getJobs(NETWORK_QUEUE);
get all jobs of the same task on queue:
List<JobTask> jobs = JobQueue.getJob(NETWORK_QUEUE, "myJobName");
get queue size:
long size = JobQueue.size(NETWORK_QUEUE);
Copyright 2019 Tomer Goldstein
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FAQs
persisted job queue for android
We found that com.tomergoldst.android:jobqueue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.