org.jboss.system.server.profileservice.repository.clustered.sync
Class NoOpRepositorySynchronizationWriteAction<T extends SynchronizationActionContext>
java.lang.Object
org.jboss.system.server.profileservice.repository.clustered.sync.AbstractSynchronizationAction<T>
org.jboss.system.server.profileservice.repository.clustered.sync.NoOpSynchronizationAction<T>
org.jboss.system.server.profileservice.repository.clustered.sync.NoOpRepositorySynchronizationWriteAction<T>
- All Implemented Interfaces:
- SynchronizationAction<T>, SynchronizationWriteAction<T>, TwoPhaseCommitAction<T>
public class NoOpRepositorySynchronizationWriteAction<T extends SynchronizationActionContext>
- extends NoOpSynchronizationAction<T>
- implements SynchronizationWriteAction<T>
A SynchronizationWriteAction
that throws the bytes on the
floor.
- Version:
- $Revision: $
- Author:
- Brian Stansberry
Method Summary |
void |
writeBytes(ByteChunk bytes)
Write the given bytes to the item referenced by this action. |
Methods inherited from class org.jboss.system.server.profileservice.repository.clustered.sync.AbstractSynchronizationAction |
cancel, commit, complete, getContext, getMarkedRemovedItem, getRepositoryContentModification, getState, isCancelled, isComplete, prepare, rollback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpRepositorySynchronizationWriteAction
public NoOpRepositorySynchronizationWriteAction(T context,
ContentModification modification)
- Create a new NoOpRepositorySynchronizationWriteAction.
- Parameters:
synchronizationId
- modification
-
writeBytes
public void writeBytes(ByteChunk bytes)
- Description copied from interface:
SynchronizationWriteAction
- Write the given bytes to the item referenced by this action.
- Specified by:
writeBytes
in interface SynchronizationWriteAction<T extends SynchronizationActionContext>
- Parameters:
bytes
- the bytes. Cannot be null
. The
byte count
must be greater
than -1.
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.