com.firebase.geofire.ThreadEventRaiser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geofire-java Show documentation
Show all versions of geofire-java Show documentation
GeoFire is an open-source library for Android/Java that allows you to store and query a set of keys based on their geographic location.
package com.firebase.geofire;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
class ThreadEventRaiser implements EventRaiser {
private final ExecutorService executorService;
public ThreadEventRaiser() {
this.executorService = Executors.newSingleThreadExecutor();
}
@Override
public void raiseEvent(Runnable r) {
this.executorService.submit(r);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy