/** {@inheritDoc} */ @Override public boolean update(@Nonnull final Object value) throws IOException { return update(AnnotationSupport.getContext(value), AnnotationSupport.getKey(value), AnnotationSupport.getValue(value), AnnotationSupport.getExpiration(value)); }
/** {@inheritDoc} */ @Override public boolean create(@Nonnull final Object value) throws IOException { return create(AnnotationSupport.getContext(value), AnnotationSupport.getKey(value), AnnotationSupport.getValue(value), AnnotationSupport.getExpiration(value)); }
/** {@inheritDoc} */ @Override @Nullable public Long updateWithVersion(@Positive final long version, @Nonnull final Object value) throws IOException, VersionMismatchException { return updateWithVersion(version, AnnotationSupport.getContext(value), AnnotationSupport.getKey(value), AnnotationSupport.getValue(value), AnnotationSupport.getExpiration(value)); }
/** {@inheritDoc} */ @Override public boolean update(@Nonnull Object value) throws IOException { Constraint.isNotNull(value, "Value cannot be null"); return update( AnnotationSupport.getContext(value), AnnotationSupport.getKey(value), AnnotationSupport.getValue(value), AnnotationSupport.getExpiration(value)); }
/** {@inheritDoc} */ @Override public boolean create(@Nonnull Object value) throws IOException { Constraint.isNotNull(value, "Value cannot be null"); return create( AnnotationSupport.getContext(value), AnnotationSupport.getKey(value), AnnotationSupport.getValue(value), AnnotationSupport.getExpiration(value)); }
/** {@inheritDoc} */ @Override public Long updateWithVersion(@Positive final long version, @Nonnull final Object value) throws IOException, VersionMismatchException { Constraint.isNotNull(value, "Value cannot be null"); return updateWithVersion( version, AnnotationSupport.getContext(value), AnnotationSupport.getKey(value), AnnotationSupport.getValue(value), AnnotationSupport.getExpiration(value)); }