Engines that do support {@link #ENHANCE_ASYNC} are required to use the{@link ContentItem#getLock()} to acquire read/write locks when reading/modifying information of the {@link ContentItem}. For Engines that that do use {@link #ENHANCE_SYNCHRONOUS} the {@link EnhancementJobManager}is responsible to acquire a write lock before calling this method.
NOTE: If an EnhancementEngine can not extract any information it is expected to return. In case an error is encountered during processing an {@link EngineException} need to be thrown. @param ci The ContentItem to enhance @throws EngineException if the underlying process failed to work asexpected
|
|
|
|
|
|
|
|
|
|
|
|
|
|