Class ProtoLock
java.lang.Object
org.infinispan.protostream.descriptors.ProtoLock
Reads/writes protolock files.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkCompatibility
(ProtoLock that, boolean strict) Checks for compatibility between all the descriptors in this ProtoLock instance against those in the supplied onestatic ProtoLock
void
Write a proto.lock file
-
Constructor Details
-
ProtoLock
-
-
Method Details
-
descriptors
-
checkCompatibility
Checks for compatibility between all the descriptors in this ProtoLock instance against those in the supplied one- Parameters:
that
-strict
-
-
readLockFile
- Throws:
IOException
-
writeLockFile
Write a proto.lock file- Parameters:
os
- theOutputStream
to write to- Throws:
IOException
-