Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redplanetlabs/rama-helpers
Utilities for developing Rama modules
https://github.com/redplanetlabs/rama-helpers
Last synced: 3 months ago
JSON representation
Utilities for developing Rama modules
- Host: GitHub
- URL: https://github.com/redplanetlabs/rama-helpers
- Owner: redplanetlabs
- License: apache-2.0
- Created: 2023-08-19T17:42:09.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-04T19:54:41.000Z (10 months ago)
- Last Synced: 2024-05-09T21:28:01.280Z (9 months ago)
- Language: Java
- Size: 35.2 KB
- Stars: 18
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# rama-helpers
This project contains helpful utilities for developing [Rama](https://redplanetlabs.com/docs/~/index.html) modules.
- `ModuleUniqueIdPState`: Generates 64 bit IDs guaranteed to be unique across the whole module.
- `TaskUniqueIdPState`: Generates 32 or 64 bit IDs unique on the task.
- `TopologyScheduler`: Schedules future work for a topology in a robust and fault-tolerant way.
- `KeyToLinkedEntitySetPStateGroup`: Implements map of linked sets data structure. Inner sets can be efficiently queried by membership or by order of insertion.
- `KeyToFixedItemsPStateGroup`: Implements map of fixed lists data structure. Lists of values automatically drop their oldest elements on write when exceeding the configured max size.
- `KeyToUniqueFixedItemsPStateGroup`: Like `KeyToFixedItemsPStateGroup` but also ensures values in inner lists are unique.
- `TaskGlobalField`: Declare an object at the module level to be locally available on every task.
- `TopologyUtils`: Assorted Java functions useful for development and testing.## Maven
`rama-helpers` is available via a Maven repository managed by Red Planet Labs. Here is the repository information you can add to your pom.xml file:
```
nexus-releases
https://nexus.redplanetlabs.com/repository/maven-public-releases
```
Here is the dependency declaration:
```
com.rpl
rama-helpers
0.9.0```