Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync by two keys with different types #8

Open
antkorwin opened this issue Jun 3, 2020 · 2 comments
Open

sync by two keys with different types #8

antkorwin opened this issue Jun 3, 2020 · 2 comments

Comments

@antkorwin
Copy link
Owner

Add an ability to synchronize by two keys with different types:

sync.execue(subjectId, year,
           () -> {
                ...
           });
@GolovPavel
Copy link

GolovPavel commented Jun 7, 2020

Hi @antkorwin! Is it possible to synchronize by Pair<..., ...> object against two keys?

@ImTema
Copy link

ImTema commented Apr 26, 2023

Wild guess it's is possible to workaround like that:

sync.execute(
UUID.fromNamedBytes(
("" + subjectId + year).getBytes()
),
 () -> {}
) ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants