All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.alphatier.java.pools.clj Maven / Gradle / Ivy

Go to download

Alphatier is a resource management library. It is designed to allow different schedulers to share the resources of a pool of executors in order to execute tasks with those.

There is a newer version: 0.2.0
Show newest version
(ns io.alphatier.java.pools
  (:import (io.alphatier.java Pool Snapshot LazySnapshot))
  (:require [io.alphatier.pools :as pools]
            [io.alphatier.java.mappings :as mappings])
  (:gen-class
    :name io.alphatier.java.InternalPools
    :implements [io.alphatier.java.Pools]))

(defn -create [_]
  (Pool. (pools/create)))

(defn -getSnapshot [_ ^Pool pool]
  (mappings/to-LazySnapshot
    (pools/get-snapshot (.getPool pool))))




© 2015 - 2024 Weber Informatics LLC | Privacy Policy