Skip to content

A library for synchronizing collections with a backend service, preserving the Identity Hashcode of the original entries.

License

Notifications You must be signed in to change notification settings

wodencafe/CollectionSynchronizer

Repository files navigation

CollectionSynchronizer

GarbageDisposal is a Java library for synchronizing Collections with a backend service, preserving the Identity Hashcode of the original entries.

This library uses the decorator pattern to decorate an object, wrapping the specified callback in a RunnableCloseable.

Usage Examples

TODO: Add Usage examples

TODO: This will come soon.

Getting Started

This project is in the process of being released on Maven Central, when this is complete this artifact will be available and this section will be updated with the Maven Coordinates.

Maven

If you would like to start using this library in your Maven projects, please add the following to your pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<!-- https://jitpack.io/#wodencafe/CollectionSynchronizer -->
<dependency>
    <groupId>com.github.wodencafe</groupId>
    <artifactId>CollectionSynchronizer</artifactId>
    <version>master-SNAPSHOT</version>
</dependency>

Gradle

If you would like to start using this library in your Gradle projects, please add the following to your build.gradle:

repositories {
    maven { url "https://jitpack.io" }
}
dependencies {
    // https://jitpack.io/#wodencafe/CollectionSynchronizer
    compile 'com.github.wodencafe:CollectionSynchronizer:master-SNAPSHOT'
}

For customizing and playing with the source for yourself, please see the Grab the source section.

News (Coming Soon)

Grab the source

To grab a copy of this code for yourself, please run the following commands in your workspace or a directory of your choosing:

git clone https://github.com/wodencafe/CollectionSynchronizer
cd CollectionSynchronizer
./gradlew build

This will build the jar in: ./build/libs/CollectionSynchronizer.jar

You can then reference this jar for your own projects.

Built With

  • Gradle - Dependency Management and Build System.
  • JitPack.io - Easy to use package repository for Git.
  • Guava - A useful a set of core libraries for Java, developed by Google.
  • SLF4J - A simple facade or abstraction for various logging frameworks.
  • JUnit (Unit Testing) - The de facto unit testing framework for Java.
  • Awaitility (Unit Testing) - A small Java DSL for synchronizing asynchronous operations.

License

This project is licensed under the BSD-3 License - see the LICENSE.md file for details

Further Reading (Coming Soon)

About

A library for synchronizing collections with a backend service, preserving the Identity Hashcode of the original entries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages