You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and then access to it inside the CheckAndUpdateAvailabilityHandler like this:
static final class CheckAndUpdateAvailabilityHandler extends TransactionProcessFunction<Booking, BookingResult> {
@ProcessTransaction
public void Booking(
final Booking book,
final Context<Booking> ctx,
final @State("rooms") StateAccess<Int> rooms) {
//and In here I can access to rooms and check availability of all of them
}
}
I also wonder if Data Artisan is available for scala language?
The text was updated successfully, but these errors were encountered:
I am modeling a hotel booking scenario. I want to know does DA provides locking multiple keys dynamically?
for example like this:
and then access to it inside the CheckAndUpdateAvailabilityHandler like this:
I also wonder if Data Artisan is available for scala language?
The text was updated successfully, but these errors were encountered: