public interface Event extends Byteable {
boolean compareAndSwapOwner(int expected, int value);
int getOwner();
void setOwner(int meta);
void setId(long id);
long getId();
void setType(long id);
long getType();
void setTimestamp(long timestamp);
long getTimestamp();
byte[] getBytes();
void setBytes(@MaxSize(8) byte[] bytes);
}
When I run my test code to create the queue the above object, I am getting following error for byte[] field
Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgument
Exception: type must be an interface, was class [B
Want to know what is the right way to declare a byte[] field for persisting in queue
Thanks,
Lata
--
You received this message because you are subscribed to the Google Groups "Chronicle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-chronicl...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.