felixYyu commented on issue #4506:
URL: https://github.com/apache/iceberg/issues/4506#issuecomment-1089735153

   e.g.
   
   ```
   private CreateSnapshotEvent currentEvent;
   
     public TestCreateSnapshotEvent(int formatVersion) {
       super(formatVersion);
       Listeners.register(new MyListener(), CreateSnapshotEvent.class);
     }
   
   class MyListener implements Listener<CreateSnapshotEvent> {
       @Override
       public void notify(CreateSnapshotEvent event) {
         currentEvent = event;
       }
     }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to