dushmis / commons

Java Stuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaCommon

Java Stuff

Annotations

annotaions like NotNull, DBField.java, Pattern

Concurrent ObjectLock

ObjectLock lock on specific object so other users can't use that object while locked object is being accessed by any process, any other object will get processed but same object will have to wait, or will timeout ( tryLock )

Extractor

Extractor,ExtractorService, Method

Util

[Util] with methods like #measureTime that takes a lambda using Consumer, Supplier interfaces Util.use borrow design pattern

final Optional<Map<?, ?>> use = Util.use(ConnectionPool.get(), closeable -> {
  //use closeable without worry
  return new HashMap<>();
});

About

Java Stuff


Languages

Language:Java 99.7%Language:Makefile 0.3%