> It already is fluent in the 0.7 release including an empty constructor
Ah, you are right - 0.7 is already fluent.
However, it is not quite an exact Joshua Bloch fluent builder. Maybe we are being API prima donna(s) by suggesting this, but, could we add a static inner to MutableConfiguration so that
MutableConfiguration.Builder
is exposed directly (and visibly) in the API JavaDoc?
It would be very simple to add (see http://www.marchwicki.pl/blog/2010/11/building-a-pojo-in-an-elegant-way/ ) and it would empower JCACHE users to code exactly like Bloch's builder. E.g.
Configuration person = new MutableConfiguration
.Builder()
.setWriteThrough(Boolean.TRUE)
.setReadThrough(Bolean.TRUE)
.setTransactionsEnabled(Boolean.TRUE)
.setTransactions(
javax.cache.transaction.IsolationLevel.READ_COMMITTED,
javax.cache.transaction.Mode.LOCAL )
.build();.
Again, we may be exceedingly pedantic requesting this, but we just think that it is a better fluent builder than the current 0.7 MutableConfiguration..