The request was rejected because it attempted to create a resource that already exists.
124125126127128129130131132133134
{ super.close(); String statusCode = jedis.set( ref.identity(), toString(), "NX" ); if( !"OK".equals( statusCode ) ) { throw new EntityAlreadyExistsException( ref ); } } }; }
177178179180181182183184185186
super.close(); String old = store.put( ref, toString() ); if( old != null ) { store.put( ref, old ); throw new EntityAlreadyExistsException( ref ); } } }; }